Fix test_sslcorrupt when using TLSv1.3
authorMatt Caswell <matt@openssl.org>
Thu, 10 Nov 2016 15:35:42 +0000 (15:35 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 10 Nov 2016 15:51:11 +0000 (15:51 +0000)
commitb4eee58a5f9dfa493d6cc34b4af871415c67beda
treee541d588438300d926146ab5d0f7945748606648
parent10b0b5ecd93097179a2b13a7d34e0ab580d23fa2
Fix test_sslcorrupt when using TLSv1.3

The test loops through all the ciphers, attempting to test each one in turn.
However version negotiation happens before cipher selection, so with TLSv1.3
switched on if we use a non-TLSv1.3 compatible cipher suite we get "no
share cipher".

Reviewed-by: Rich Salz <rsalz@openssl.org>
test/sslcorrupttest.c