Update source files for pre-3.0 deprecation
[openssl.git] / crypto / x509 / x509_d2.c
index 5beb7034a726cdaf72f89bb53e3b81c1422b6a08..cb0f84a7e8a475ef90b91c360c5248069b8599e7 100644 (file)
@@ -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)
 {