1 http://bugs.gentoo.org/270305
7 @@ -585,30 +585,31 @@ dtls1_process_out_of_seq_message(SSL *s,
11 - frag = dtls1_hm_fragment_new(frag_len);
16 + frag = dtls1_hm_fragment_new(frag_len);
20 - memcpy(&(frag->msg_header), msg_hdr, sizeof(*msg_hdr));
21 + memcpy(&(frag->msg_header), msg_hdr, sizeof(*msg_hdr));
25 - /* read the body of the fragment (header has already been read */
26 + /* read the body of the fragment (header has already been read) */
27 i = s->method->ssl_read_bytes(s,SSL3_RT_HANDSHAKE,
28 frag->fragment,frag_len,0);
29 if (i<=0 || (unsigned long)i!=frag_len)
33 - pq_64bit_init(&seq64);
34 - pq_64bit_assign_word(&seq64, msg_hdr->seq);
35 + pq_64bit_init(&seq64);
36 + pq_64bit_assign_word(&seq64, msg_hdr->seq);
38 - item = pitem_new(seq64, frag);
39 - pq_64bit_free(&seq64);
42 + item = pitem_new(seq64, frag);
43 + pq_64bit_free(&seq64);
47 + pqueue_insert(s->d1->buffered_messages, item);
50 - pqueue_insert(s->d1->buffered_messages, item);
51 return DTLS1_HM_FRAGMENT_RETRY;