From a3844061df7d0e588d018370efd1d309f856e6f3 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 5 Nov 2019 17:37:17 +0100 Subject: [PATCH] Update the check surround the BN_zero() implementation Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/10364) --- include/openssl/bn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openssl/bn.h b/include/openssl/bn.h index 7cfc791eab..8512ddf284 100644 --- a/include/openssl/bn.h +++ b/include/openssl/bn.h @@ -198,7 +198,7 @@ int BN_is_odd(const BIGNUM *a); void BN_zero_ex(BIGNUM *a); -# if OPENSSL_API_0_9_8 +# if OPENSSL_API_LEVEL > 908 # define BN_zero(a) BN_zero_ex(a) # else # define BN_zero(a) (BN_set_word((a),0)) -- 2.25.1