Fix DTLS1_BAD_VER regression
authorMatt Caswell <matt@openssl.org>
Mon, 2 Mar 2015 14:34:19 +0000 (14:34 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 9 Mar 2015 10:51:57 +0000 (10:51 +0000)
commit5178a16c4375471d25e1f5ef5de46febb62a5529
tree3b32ce6c4f166e3ae81510134fe1456947f0537b
parenta8ae0891d4bfd18f224777aed1fbb172504421f1
Fix DTLS1_BAD_VER regression

Commit 9cf0f187 in HEAD, and 68039af3 in 1.0.2, removed a version check
from dtls1_buffer_message() which was needed to distinguish between DTLS
1.x and Cisco's pre-standard version of DTLS (DTLS1_BAD_VER).

Based on an original patch by David Woodhouse <dwmw2@infradead.org>
RT#3703

Reviewed-by: Tim Hudson <tjh@openssl.org>
ssl/d1_both.c