diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2015-12-04 22:25:11 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2015-12-04 22:25:11 +0100 |
commit | 6977e8ee4a718a76351ba5275a9f0be4e530eab5 (patch) | |
tree | 84cd56401bf1e8c72e12187709d4fdd5ea674677 /ssl/ssl_locl.h | |
parent | 6f78b9e824c053d062188578635c575017b587c5 (diff) | |
download | openssl-new-6977e8ee4a718a76351ba5275a9f0be4e530eab5.tar.gz |
Make SSL_{CTX}_set_tmp_ecdh() call SSL_{CTX_}set1_curves()
SSL_{CTX}_set_tmp_ecdh() allows to set 1 EC curve and then tries to use it. On
the other hand SSL_{CTX_}set1_curves() allows you to set a list of curves, but
only when SSL_{CTX_}set_ecdh_auto() was called to turn it on.
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r-- | ssl/ssl_locl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 2da47f1d35..a8789325a4 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -1569,7 +1569,6 @@ typedef struct cert_st { int dh_tmp_auto; # endif # ifndef OPENSSL_NO_EC - EC_KEY *ecdh_tmp; /* Select ECDH parameters automatically */ int ecdh_tmp_auto; # endif |