summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-05-21 10:46:58 +0100
committerMatt Caswell <matt@openssl.org>2018-05-23 10:44:04 +0100
commit04225915731e913b4ad077aff6b6d7bbeb8b916b (patch)
tree3302a7a1b894704d78c2e4672fccc63852f985a9
parent693cf80c6ff54ae276a44d305d4ad07168ec6895 (diff)
downloadopenssl-04225915731e913b4ad077aff6b6d7bbeb8b916b.tar.gz
Fix no-ec, no-tls1_3 and no-tls
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6321)
-rw-r--r--test/sslapitest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c
index 10bfc8ac14..9b0237e060 100644
--- a/test/sslapitest.c
+++ b/test/sslapitest.c
@@ -1197,6 +1197,7 @@ static int test_session_with_both_cache(void)
#endif
}
+#ifndef OPENSSL_NO_TLS1_3
static SSL_SESSION *sesscache[6];
static int do_cache;
@@ -1324,6 +1325,7 @@ static int test_tickets(int idx)
return testresult;
}
+#endif
#define USE_NULL 0
#define USE_BIO_1 1