From: Matt Caswell Date: Wed, 18 Apr 2018 08:29:18 +0000 (+0100) Subject: Fix no-ec X-Git-Tag: OpenSSL_1_1_1-pre6~82 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=6e07834ca0eaeb38da2696e74c16082efd45bbe2 Fix no-ec Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/5997) --- diff --git a/test/sslapitest.c b/test/sslapitest.c index 5fef058dfc..c4c0868a2b 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -4308,6 +4308,7 @@ static int test_info_callback(int tst) info_cb_this_state = -1; info_cb_offset = tst; +#ifndef OPENSSL_NO_TLS1_3 if (tst >= 4) { SSL_SESSION *sess = NULL; size_t written, readbytes; @@ -4342,6 +4343,7 @@ static int test_info_callback(int tst) testresult = 1; goto end; } +#endif if (!TEST_true(create_ssl_ctx_pair(TLS_server_method(), TLS_client_method(),