diff options
Diffstat (limited to 'crypto/dh/dh_depr.c')
-rw-r--r-- | crypto/dh/dh_depr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/dh/dh_depr.c b/crypto/dh/dh_depr.c index de93472189..78875fbc6b 100644 --- a/crypto/dh/dh_depr.c +++ b/crypto/dh/dh_depr.c @@ -59,10 +59,11 @@ #include "internal/cryptlib.h" #include <openssl/bn.h> #include <openssl/dh.h> +#include <openssl/opensslconf.h> static void *dummy = &dummy; -#ifndef OPENSSL_NO_DEPRECATED +#if OPENSSL_API_COMPAT < 0x00908000L DH *DH_generate_parameters(int prime_len, int generator, void (*callback) (int, int, void *), void *cb_arg) { |