Fix test_key_exchange with no_tlsv1_2
authorMatt Caswell <matt@openssl.org>
Tue, 23 Jul 2019 14:13:26 +0000 (15:13 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 9 Aug 2019 16:29:39 +0000 (17:29 +0100)
commitdb26ec80873e8faa8d40795120bc15c37d36ac98
treec6a59ba9fcb6ac93b7ba139fea13f26fcf34b34e
parent53890ea27c8f8492dc31639bccc29968ee0bd5e9
Fix test_key_exchange with no_tlsv1_2

Make sure we only test TLSv1.2 things if TLSv1.2 is actually available.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9442)
test/sslapitest.c