diff options
author | Matt Caswell <matt@openssl.org> | 2020-10-13 18:13:01 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-11-27 12:04:54 +0100 |
commit | 752419d8f7154995c355a38801d89230a80fa8a3 (patch) | |
tree | 36725986fa6642317d5c04f8f95111607c8656e0 /crypto/dh | |
parent | TEST: Adapt test/errtest for the 'no-err' configuration (diff) | |
download | openssl-752419d8f7154995c355a38801d89230a80fa8a3.tar.xz openssl-752419d8f7154995c355a38801d89230a80fa8a3.zip |
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) { |