Fix mac-then-encrypt test with enable-tls1_3
authorMatt Caswell <matt@openssl.org>
Tue, 29 Nov 2016 09:49:04 +0000 (09:49 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 29 Nov 2016 22:51:12 +0000 (22:51 +0000)
commit54d028aa0f5dc50ec64a8d99ed43b81519b0443b
tree9609734245b82c55753e674ae59e4ee3d7c2c55b
parent5bdcd362d24cbbcf18c5eb9df655fe9f7bcf5850
Fix mac-then-encrypt test with enable-tls1_3

Commit b3618f44 added a test for mac-then-encrypt. However the test fails
when running with "enable-tls1_3". The problem is that the test creates a
connection, which ends up being TLSv1.3. However it also restricts the
ciphers to a single mac-then-encrypt ciphersuite that is not TLSv1.3
compatible so the connection aborts and the test fails. Mac-then-encrypt
is not relevant to TLSv1.3, so the test should disable that protocol
version.

Reviewed-by: Emilia Käsper <emilia@openssl.org>
test/recipes/80-test_ssl_new.t
test/ssl-tests/19-mac-then-encrypt.conf
test/ssl-tests/19-mac-then-encrypt.conf.in