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

Fixes for DTLS buffering bug.

ssl/d1_pkt.c

index c9757e1..54235f2 100644 (file)
@@ -809,7 +809,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;
                }