mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
Half of the commit for 0.9.8 as the bitmap handling has changed.
(Firstly... ommitted) Secondly, it wasn't even _dropping_ the offending packets, in the non-blocking case. It was just returning garbage instead. PR: #1752 Submitted by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
babb379849
commit
570006f3a2
@ -635,6 +635,7 @@ again:
|
||||
/* check whether this is a repeat, or aged record */
|
||||
if ( ! dtls1_record_replay_check(s, bitmap))
|
||||
{
|
||||
rr->length = 0;
|
||||
s->packet_length=0; /* dump this record */
|
||||
goto again; /* get another record */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user