projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix -no-tls1_2 in tests
[openssl.git]
/
test
/
sslapitest.c
diff --git
a/test/sslapitest.c
b/test/sslapitest.c
index a490961d80e756819e4fc6fb19e138fe687ab81f..2ab082e3e0b3be1363fa64d3d554eee8d20e0bef 100644
(file)
--- a/
test/sslapitest.c
+++ b/
test/sslapitest.c
@@
-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(),