Typo: set i to -1 before goto.

PR#3302
(cherry picked from commit 9717f01951f976f76dd40a38d9fc7307057fa4c4)
This commit is contained in:
Sami Farin 2014-06-02 12:24:19 +01:00 committed by Dr. Stephen Henson
parent de8a5b523f
commit 6468866823

View file

@ -679,8 +679,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);