From bffbaf92bf31c19fd1e76882d5846136039bfbb6 Mon Sep 17 00:00:00 2001
From: Sami Farin <hvtaifwkbgefbaei@gmail.com>
Date: Mon, 2 Jun 2014 12:24:19 +0100
Subject: [PATCH] Typo: set i to -1 before goto.

PR#3302
(cherry picked from commit 9717f01951f976f76dd40a38d9fc7307057fa4c4)
---
 ssl/d1_both.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ssl/d1_both.c b/ssl/d1_both.c
index c5484c552..ffbff8c73 100644
--- a/ssl/d1_both.c
+++ b/ssl/d1_both.c
@@ -674,8 +674,8 @@ dtls1_reassemble_fragment(SSL *s, struct hm_header_st* msg_hdr, int *ok)
 		item = pitem_new(seq64be, frag);
 		if (item == NULL)
 			{
-			goto err;
 			i = -1;
+			goto err;
 			}
 
 		pqueue_insert(s->d1->buffered_messages, item);