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
[openssl.git]
/
test
/
sslapitest.c
diff --git
a/test/sslapitest.c
b/test/sslapitest.c
index 8a361c116646ca129b84ae5f06d7d22a5817fe14..d36a7923d96d363ac3537cbd568be185ac972c4d 100644
(file)
--- a/
test/sslapitest.c
+++ b/
test/sslapitest.c
@@
-242,7
+242,7
@@
static int execute_test_session(SSL_SESSION_TEST_FIXTURE fix)
goto end;
}
-#if
ndef OPENSSL_NO_TLS1_1
+#if
!defined(OPENSSL_NO_TLS1_1) && !defined(OPENSSL_NO_TLS1_2)
/* Force a connection failure */
SSL_CTX_set_max_proto_version(sctx, TLS1_1_VERSION);
clientssl3 = SSL_new(cctx);