diff options
author | Matt Caswell <matt@openssl.org> | 2020-10-13 17:13:01 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-11-27 11:04:54 +0000 |
commit | 752419d8f7154995c355a38801d89230a80fa8a3 (patch) | |
tree | 36725986fa6642317d5c04f8f95111607c8656e0 /crypto/dh | |
parent | abcca5078fc2b5059462bf6a9c659f235c11d5d8 (diff) |
Deprecate DH_new as well as i2d_DHparams and d2i_DHparams
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13138)
Diffstat (limited to 'crypto/dh')
-rw-r--r-- | crypto/dh/dh_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/dh/dh_lib.c b/crypto/dh/dh_lib.c index e3bbe95ff4..e687b04259 100644 --- a/crypto/dh/dh_lib.c +++ b/crypto/dh/dh_lib.c @@ -51,11 +51,12 @@ const DH_METHOD *dh_get_method(const DH *dh) { return dh->meth; } - +# ifndef OPENSSL_NO_DEPRECATED_3_0 DH *DH_new(void) { return dh_new_intern(NULL, NULL); } +# endif DH *DH_new_method(ENGINE *engine) { |