Fix a test failure when configured without TLSv1.3
[openssl.git] / test / sslapitest.c
index 0e2bdbefaff2a2c2b22f07bed2456b9ab6c64cad..3b4d01aab976a33f8de3ea0bdaaab53585634142 100644 (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]);