]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - ssl/ssl_lib.c
Make SSL_{CTX}_set_tmp_ecdh() call SSL_{CTX_}set1_curves()
[thirdparty/openssl.git] / ssl / ssl_lib.c
index 9343e7dff2f5ee4eeed4531e88d5a25963c77b50..d598f91eb79c5d66ec6c96cc0fb9701ca44cc03f 100644 (file)
@@ -2037,7 +2037,7 @@ void ssl_set_masks(SSL *s, const SSL_CIPHER *cipher)
 #endif
 
 #ifndef OPENSSL_NO_EC
-    have_ecdh_tmp = (c->ecdh_tmp || c->ecdh_tmp_auto);
+    have_ecdh_tmp = c->ecdh_tmp_auto;
 #endif
     cpk = &(c->pkeys[SSL_PKEY_RSA_ENC]);
     rsa_enc = pvalid[SSL_PKEY_RSA_ENC] & CERT_PKEY_VALID;