In BIO_write(), update the write statistics, not the read statistics.
[oweals/openssl.git] / ssl / d1_lib.c
index fc088b41489384927847e64d598d1e99b2099234..3568e97a8771573c97a3ff421218e78a6ca4c903 100644 (file)
@@ -106,6 +106,7 @@ int dtls1_new(SSL *s)
        pq_64bit_init(&(d1->bitmap.map));
        pq_64bit_init(&(d1->bitmap.max_seq_num));
        
+       d1->next_bitmap.length = d1->bitmap.length;
        pq_64bit_init(&(d1->next_bitmap.map));
        pq_64bit_init(&(d1->next_bitmap.max_seq_num));