Check DTLS_BAD_VER for version number.
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 12 Feb 2013 14:55:32 +0000 (14:55 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 12 Feb 2013 15:16:05 +0000 (15:16 +0000)
commit9fe4603b8245425a4c46986ed000fca054231253
tree8a6ea62147b7139d0da20745d4ae7613526129da
parent147dbb2fe3bead7a10e2f280261b661ce7af7adc
Check DTLS_BAD_VER for version number.

The version check for DTLS1_VERSION was redundant as
DTLS1_VERSION > TLS1_1_VERSION, however we do need to
check for DTLS1_BAD_VER for compatibility.

PR:2984
(cherry picked from commit d980abb22e22661e98e5cee33d760ab0c7584ecc)
ssl/s3_cbc.c