mirror of
https://github.com/openssl/openssl.git
synced 2025-01-23 02:14:11 +08:00
Fix -no-tls1_2 in tests
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/18019)
This commit is contained in:
parent
269c349a76
commit
40fb5a4ce3
1
.github/workflows/run-checker-ci.yml
vendored
1
.github/workflows/run-checker-ci.yml
vendored
@ -28,6 +28,7 @@ jobs:
|
||||
no-tests,
|
||||
no-threads,
|
||||
no-tls,
|
||||
no-tls1_2,
|
||||
no-tls1_3,
|
||||
enable-trace enable-fips,
|
||||
no-ts,
|
||||
|
@ -9427,7 +9427,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(),
|
||||
|
Loading…
Reference in New Issue
Block a user