summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-11-05 17:37:17 +0100
committerRichard Levitte <levitte@openssl.org>2019-11-07 11:37:25 +0100
commita3844061df7d0e588d018370efd1d309f856e6f3 (patch)
tree63ca5490836d9ec63ae8bbf6745c0f555fbbf687
parent285a0db396ff3a7801c199b6d812eae298178249 (diff)
Update the check surround the BN_zero() implementation
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10364)
-rw-r--r--include/openssl/bn.h2
1 files changed, 1 insertions, 1 deletions
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))