Commit 570006f3 authored by Lutz Jänicke's avatar Lutz Jänicke
Browse files

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>
parent babb3798
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 */
		}