diff options
author | Matt Caswell <matt@openssl.org> | 2016-07-22 16:36:26 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-07-25 08:24:32 +0100 |
commit | 80f397e2c6898a1987ecbb5680859d398130107b (patch) | |
tree | 490fbb06c28ab581920ecb01a5c0e8d53b101f3d /test/sslapitest.c | |
parent | 3e82ae573ad7a3aa5dc99be9841ca9111e584630 (diff) | |
download | openssl-80f397e2c6898a1987ecbb5680859d398130107b.zip openssl-80f397e2c6898a1987ecbb5680859d398130107b.tar.gz openssl-80f397e2c6898a1987ecbb5680859d398130107b.tar.bz2 |
Fix no-tls1_2
Misc fixes impacting no-tls1_2. Also fixes no-dtls1_2.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/sslapitest.c')
-rw-r--r-- | test/sslapitest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c index 8a361c1..d36a792 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -242,7 +242,7 @@ static int execute_test_session(SSL_SESSION_TEST_FIXTURE fix) goto end; } -#ifndef 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); |