Make SSL_{CTX}_set_tmp_ecdh() call SSL_{CTX_}set1_curves()
authorKurt Roeckx <kurt@roeckx.be>
Fri, 4 Dec 2015 21:25:11 +0000 (22:25 +0100)
committerKurt Roeckx <kurt@roeckx.be>
Fri, 4 Dec 2015 21:25:11 +0000 (22:25 +0100)
commit6977e8ee4a718a76351ba5275a9f0be4e530eab5
tree84cd56401bf1e8c72e12187709d4fdd5ea674677
parent6f78b9e824c053d062188578635c575017b587c5
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>
CHANGES
ssl/s3_lib.c
ssl/ssl_cert.c
ssl/ssl_lib.c
ssl/ssl_locl.h
ssl/statem/statem_srvr.c
ssl/t1_lib.c
test/ssltest.c