]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix a compilation failure with no-tls_1_2
authorMatt Caswell <matt@openssl.org>
Wed, 2 Dec 2020 15:58:39 +0000 (15:58 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 8 Dec 2020 15:53:18 +0000 (15:53 +0000)
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13596)

test/sslapitest.c

index e981986458d3c686d5d84386d217e0f197a94179..6592b6bda6d358cdc5bc0f45358fc9e1b08130af 100644 (file)
@@ -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);