PR: 2219
authorDr. Stephen Henson <steve@openssl.org>
Tue, 6 Apr 2010 12:39:57 +0000 (12:39 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 6 Apr 2010 12:39:57 +0000 (12:39 +0000)
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de>

Fixes for DTLS buffering bug.

ssl/d1_pkt.c

index ca2d73f02ef5e772f15c5211189bb5918c0518b1..4ecabc8f4269470c99aceb29727b0c2d23ffdacf 100644 (file)
@@ -766,7 +766,7 @@ start:
                 * buffer the application data for later processing rather
                 * than dropping the connection.
                 */
-               dtls1_buffer_record(s, &(s->d1->buffered_app_data), 0);
+               dtls1_buffer_record(s, &(s->d1->buffered_app_data), rr->seq_num);
                rr->length = 0;
                goto start;
                }