Fix a test failure when configured without TLSv1.3

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3139)
This commit is contained in:
Matt Caswell 2017-04-07 11:56:27 +01:00
parent 0f5af6b1b8
commit a273157a3e
1 changed files with 4 additions and 0 deletions

View File

@ -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]);