summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_local.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-10-14 09:25:35 +0100
committerMatt Caswell <matt@openssl.org>2020-11-18 14:14:22 +0000
commit091f6074c554a14bd9d37186e40ff9d556e4b216 (patch)
tree3190a46233adee735d55f3659ed0f5a87a2cfbf0 /ssl/ssl_local.h
parent2b93900e28b330e6066a993278fabd4d560936f9 (diff)
Convert TLS auto DH parameters to use EVP_PKEY
Previously a DH object was constructed and then assigned to an EVP_PKEY. Instead we now construct the EVP_PKEY directly instead. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13368)
Diffstat (limited to 'ssl/ssl_local.h')
-rw-r--r--ssl/ssl_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h
index 5e47320d62..67bb0a8d52 100644
--- a/ssl/ssl_local.h
+++ b/ssl/ssl_local.h
@@ -2693,7 +2693,7 @@ __owur int ssl_validate_ct(SSL *s);
# endif
# ifndef OPENSSL_NO_DH
-__owur DH *ssl_get_auto_dh(SSL *s);
+__owur EVP_PKEY *ssl_get_auto_dh(SSL *s);
# endif
__owur int ssl_security_cert(SSL *s, SSL_CTX *ctx, X509 *x, int vfy, int is_ee);