Add a test for the wrong version number in a record
authorMatt Caswell <matt@openssl.org>
Mon, 7 Nov 2016 14:26:41 +0000 (14:26 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 7 Nov 2016 15:52:33 +0000 (15:52 +0000)
commit8e47ee18c8f7e59575effdd8dfcfbfff1a365ede
treeb67c707c06a9f856a3cc0621ac74c5d46f4765c2
parent3c9539d294b931bc430a01510753e10b7a201f11
Add a test for the wrong version number in a record

Prior to TLS1.3 we check that the received record version number is correct.
In TLS1.3 we need to ignore the record version number. This adds a test to
make sure we do it correctly.

Reviewed-by: Rich Salz <rsalz@openssl.org>
test/recipes/70-test_sslrecords.t
util/TLSProxy/Record.pm