diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-07-01 13:29:25 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-07-01 13:29:25 +0200 |
commit | 9458530d450e80637c17d5a984ded8f0e4e0fa33 (patch) | |
tree | bbe0eee20b7620a440b829e383c6310970be1fad /ssl/d1_pkt.c | |
parent | Update from 0.9.8-stable (diff) | |
download | openssl-9458530d450e80637c17d5a984ded8f0e4e0fa33.tar.xz openssl-9458530d450e80637c17d5a984ded8f0e4e0fa33.zip |
Update from 1.0.0-stable
Diffstat (limited to '')
-rw-r--r-- | ssl/d1_pkt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c index 394daf6258..35e83d8b52 100644 --- a/ssl/d1_pkt.c +++ b/ssl/d1_pkt.c @@ -623,6 +623,7 @@ again: /* this packet contained a partial record, dump it */ if ( n != i) { + rr->length = 0; s->packet_length = 0; goto again; } @@ -636,6 +637,7 @@ again: bitmap = dtls1_get_bitmap(s, rr, &is_next_epoch); if ( bitmap == NULL) { + rr->length = 0; s->packet_length = 0; /* dump this record */ goto again; /* get another record */ } @@ -660,6 +662,7 @@ again: { dtls1_record_bitmap_update(s, bitmap); dtls1_buffer_record(s, &(s->d1->unprocessed_rcds), rr->seq_num); + rr->length = 0; s->packet_length = 0; goto again; } |