From: Matt Caswell Date: Wed, 2 Dec 2020 15:58:39 +0000 (+0000) Subject: Fix a compilation failure with no-tls_1_2 X-Git-Tag: openssl-3.0.0-alpha10~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8778f0eb8e6bfb32c0d01cf0e3c9d2e61619818e;p=thirdparty%2Fopenssl.git Fix a compilation failure with no-tls_1_2 Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/13596) --- diff --git a/test/sslapitest.c b/test/sslapitest.c index e981986458d..6592b6bda6d 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -8627,7 +8627,7 @@ int setup_tests(void) void cleanup_tests(void) { -# ifndef OPENSSL_NO_DH +# if !defined(OPENSSL_NO_TLS1_2) && !defined(OPENSSL_NO_DH) EVP_PKEY_free(tmp_dh_params); #endif OPENSSL_free(cert);