summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_d2.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509/x509_d2.c')
-rw-r--r--crypto/x509/x509_d2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_d2.c b/crypto/x509/x509_d2.c
index 5beb7034a7..cb0f84a7e8 100644
--- a/crypto/x509/x509_d2.c
+++ b/crypto/x509/x509_d2.c
@@ -74,7 +74,7 @@ int X509_STORE_load_store(X509_STORE *ctx, const char *uri)
}
/* Deprecated */
-#if OPENSSL_API_LEVEL < 3
+#ifndef OPENSSL_NO_DEPRECATED_3_0
int X509_STORE_load_locations(X509_STORE *ctx, const char *file,
const char *path)
{