summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/run-checker-ci.yml1
-rw-r--r--test/sslapitest.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/run-checker-ci.yml b/.github/workflows/run-checker-ci.yml
index 1aca0170f8..33ec553a88 100644
--- a/.github/workflows/run-checker-ci.yml
+++ b/.github/workflows/run-checker-ci.yml
@@ -28,6 +28,7 @@ jobs:
no-tests,
no-threads,
no-tls,
+ no-tls1_2,
no-tls1_3,
enable-trace enable-fips,
no-ts,
diff --git a/test/sslapitest.c b/test/sslapitest.c
index 937dcf1c17..8a9393d123 100644
--- a/test/sslapitest.c
+++ b/test/sslapitest.c
@@ -9401,7 +9401,11 @@ static int test_ticket_lifetime(int idx)
#define TWO_WEEK_SEC (2 * ONE_WEEK_SEC)
if (idx == 0) {
+#ifdef OPENSSL_NO_TLS1_2
+ return TEST_skip("TLS 1.2 is disabled.");
+#else
version = TLS1_2_VERSION;
+#endif
}
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),