Commit bf208d95 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix no-tls and no-tls1_2

parent ab78f89b
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -757,6 +757,7 @@ static int test_tlsext_status_type(void)
}
#endif

#if !defined(OPENSSL_NO_TLS1_3) || !defined(OPENSSL_NO_TLS1_2)
static int new_called, remove_called, get_called;

static int new_session_cb(SSL *ssl, SSL_SESSION *sess)
@@ -785,7 +786,6 @@ static SSL_SESSION *get_session_cb(SSL *ssl, const unsigned char *id, int len,
    return get_sess_val;
}


static int execute_test_session(int maxprot, int use_int_cache,
                                int use_ext_cache)
{
@@ -1046,6 +1046,7 @@ static int execute_test_session(int maxprot, int use_int_cache,

    return testresult;
}
#endif /* !defined(OPENSSL_NO_TLS1_3) || !defined(OPENSSL_NO_TLS1_2) */

static int test_session_with_only_int_cache(void)
{