]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Typo: set i to -1 before goto.
authorSami Farin <hvtaifwkbgefbaei@gmail.com>
Mon, 2 Jun 2014 11:24:19 +0000 (12:24 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 2 Jun 2014 11:28:50 +0000 (12:28 +0100)
PR#3302
(cherry picked from commit 9717f01951f976f76dd40a38d9fc7307057fa4c4)

ssl/d1_both.c

index 445470bb4367491785ab37260d24f153a71ed6f5..01d724211c3bbd95765db13f7d24565d488b9c7f 100644 (file)
@@ -668,8 +668,8 @@ dtls1_reassemble_fragment(SSL *s, struct hm_header_st* msg_hdr, int *ok)
 
                if (item == NULL)
                        {
-                       goto err;
                        i = -1;
+                       goto err;
                        }
 
                pqueue_insert(s->d1->buffered_messages, item);