From: Matt Caswell Date: Mon, 21 May 2018 09:46:58 +0000 (+0100) Subject: Fix no-ec, no-tls1_3 and no-tls X-Git-Tag: OpenSSL_1_1_1-pre7~23 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=04225915731e913b4ad077aff6b6d7bbeb8b916b;hp=693cf80c6ff54ae276a44d305d4ad07168ec6895 Fix no-ec, no-tls1_3 and no-tls Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/6321) --- 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