From: Richard Levitte Date: Tue, 5 Nov 2019 16:37:17 +0000 (+0100) Subject: Update the check surround the BN_zero() implementation X-Git-Tag: openssl-3.0.0-alpha1~1001 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a3844061df7d0e588d018370efd1d309f856e6f3;p=oweals%2Fopenssl.git Update the check surround the BN_zero() implementation Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/10364) --- 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))