diff options
Diffstat (limited to 'crypto/bn/bn_depr.c')
-rw-r--r-- | crypto/bn/bn_depr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/bn/bn_depr.c b/crypto/bn/bn_depr.c index c4a5c820d0..b64aa5fb29 100644 --- a/crypto/bn/bn_depr.c +++ b/crypto/bn/bn_depr.c @@ -62,11 +62,12 @@ #include <time.h> #include "internal/cryptlib.h" #include "bn_lcl.h" +#include <openssl/opensslconf.h> #include <openssl/rand.h> static void *dummy = &dummy; -#ifndef OPENSSL_NO_DEPRECATED +#if OPENSSL_API_COMPAT < 0x00908000L BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, void (*callback) (int, int, void *), void *cb_arg) |