diff options
Diffstat (limited to 'crypto/dh/dh_lib.c')
-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) { |