From: Matt Caswell Date: Fri, 7 Apr 2017 10:56:27 +0000 (+0100) Subject: Fix a test failure when configured without TLSv1.3 X-Git-Tag: OpenSSL_1_1_1-pre1~1839 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a273157a3e10930b52b30e0ee39552eaf2a56e17;p=oweals%2Fopenssl.git Fix a test failure when configured without TLSv1.3 Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3139) --- 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]);