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 13:22:06 +0000 (14:22 +0100)
PR#3302
(cherry picked from commit 9717f01951f976f76dd40a38d9fc7307057fa4c4)

ssl/d1_both.c

index 2e8cf681ed0976e2b16460170fda27c77cfec6cc..1bb2e4d1a131249da700191afa7a0b2a3b2c9859 100644 (file)
@@ -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);