summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_locl.h
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2015-12-04 22:22:31 +0100
committerKurt Roeckx <kurt@roeckx.be>2015-12-04 22:22:31 +0100
commit6f78b9e824c053d062188578635c575017b587c5 (patch)
tree384ac167954740453837f37e9ad0cbadcb5888b7 /ssl/ssl_locl.h
parentad3819c29ed91ee31ebc806939e6104970694811 (diff)
Remove support for SSL_{CTX_}set_tmp_ecdh_callback().
This only gets used to set a specific curve without actually checking that the peer supports it or not and can therefor result in handshake failures that can be avoided by selecting a different cipher. Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r--ssl/ssl_locl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
index b4c6244896..2da47f1d35 100644
--- a/ssl/ssl_locl.h
+++ b/ssl/ssl_locl.h
@@ -1570,8 +1570,6 @@ typedef struct cert_st {
# endif
# ifndef OPENSSL_NO_EC
EC_KEY *ecdh_tmp;
- /* Callback for generating ephemeral ECDH keys */
- EC_KEY *(*ecdh_tmp_cb) (SSL *ssl, int is_export, int keysize);
/* Select ECDH parameters automatically */
int ecdh_tmp_auto;
# endif