Remove versions test from dtls1_buffer_message
authorDr. Stephen Henson <steve@openssl.org>
Tue, 26 Mar 2013 14:46:18 +0000 (14:46 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 18 Sep 2013 12:46:02 +0000 (13:46 +0100)
commit68039af3e7fbbdef1f8a801c9fe5399015c0e58d
tree61498b8ce4a9c5c8587567a4e20d5024d45c0b37
parentda1247d653440145a9e4dc059a5650d15bbacc6a
Remove versions test from dtls1_buffer_message

Since this is always called from DTLS code it is safe to assume the header
length should be the DTLS value. This avoids the need to check the version
number and should work with any version of DTLS (not just 1.0).
(cherry picked from commit 9cf0f187542f080031f83c5e538d3e1872ac09d1)
ssl/d1_both.c