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 c9757e1d63f4c740c791248d1244253955150339..54235f283a42bee9338fc2cab45ff978c432fbab 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;
                }