summaryrefslogtreecommitdiffstats
path: root/crypto/bn
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-11-05 17:34:09 +0100
committerRichard Levitte <levitte@openssl.org>2019-11-07 11:37:25 +0100
commit00db8c60aaecd2ff9b0a5d9fd10c7771a1e1a73e (patch)
tree55a6f88db1ff6e53c4fdcf17b074672ff64e9263 /crypto/bn
parent936c2b9e933eacae80d3489e5f7316589f3e9a07 (diff)
Update source files for pre-3.0 deprecation
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10364)
Diffstat (limited to 'crypto/bn')
-rw-r--r--crypto/bn/bn_depr.c2
-rw-r--r--crypto/bn/bn_lib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bn/bn_depr.c b/crypto/bn/bn_depr.c
index 4dbbdc3814..9c1c3d57c8 100644
--- a/crypto/bn/bn_depr.c
+++ b/crypto/bn/bn_depr.c
@@ -13,7 +13,7 @@
*/
#include <openssl/opensslconf.h>
-#if OPENSSL_API_0_9_8
+#ifdef OPENSSL_NO_DEPRECATED_0_9_8
NON_EMPTY_TRANSLATION_UNIT
#else
diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c
index bdd4caa21d..1e62b96874 100644
--- a/crypto/bn/bn_lib.c
+++ b/crypto/bn/bn_lib.c
@@ -15,7 +15,7 @@
#include "internal/constant_time.h"
/* This stuff appears to be completely unused, so is deprecated */
-#if !OPENSSL_API_0_9_8
+#ifndef OPENSSL_NO_DEPRECATED_0_9_8
/*-
* For a 32 bit machine
* 2 - 4 == 128