Index: ssl/d1_pkt.c
===================================================================
RCS file: /v/openssl/cvs/openssl/ssl/d1_pkt.c,v
retrieving revision 1.27.2.18
diff -u -r1.27.2.18 d1_pkt.c
--- ssl/d1_pkt.c	4 Oct 2009 16:52:35 -0000	1.27.2.18
+++ ssl/d1_pkt.c	3 Apr 2010 10:49:07 -0000
@@ -809,7 +809,7 @@
 		 * 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;
 		}
