From a273157a3e10930b52b30e0ee39552eaf2a56e17 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 7 Apr 2017 11:56:27 +0100 Subject: [PATCH] Fix a test failure when configured without TLSv1.3 Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3139) --- test/sslapitest.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/sslapitest.c b/test/sslapitest.c index 0e2bdbefaf..3b4d01aab9 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -2602,7 +2602,11 @@ int test_main(int argc, char *argv[]) ADD_ALL_TESTS(test_early_data_tls1_2, 2); # endif #endif +#ifndef OPENSSL_NO_TLS1_3 ADD_ALL_TESTS(test_custom_exts, 4); +#else + ADD_ALL_TESTS(test_custom_exts, 2); +#endif testresult = run_tests(argv[0]); -- 2.25.1