diff options
author | Matt Caswell <matt@openssl.org> | 2020-10-14 09:25:35 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-11-18 14:14:22 +0000 |
commit | 091f6074c554a14bd9d37186e40ff9d556e4b216 (patch) | |
tree | 3190a46233adee735d55f3659ed0f5a87a2cfbf0 /ssl/ssl_local.h | |
parent | 2b93900e28b330e6066a993278fabd4d560936f9 (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.h | 2 |
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); |