summaryrefslogtreecommitdiffstats
path: root/crypto/init.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-07-23 23:06:27 +0200
committerRichard Levitte <levitte@openssl.org>2020-09-03 17:48:32 +0200
commita1447076beee138cab1cc4b277aae189defffdf4 (patch)
tree7c553a8aabaebd9970ca4968ada98ceff5c42e3b /crypto/init.c
parent63f187cfedd21550094b5d69a52f7f617545b209 (diff)
STORE: Deprecate legacy / ENGINE functions
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12587)
Diffstat (limited to 'crypto/init.c')
-rw-r--r--crypto/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/init.c b/crypto/init.c
index 34dd724bc5..fec178c389 100644
--- a/crypto/init.c
+++ b/crypto/init.c
@@ -412,8 +412,11 @@ void OPENSSL_cleanup(void)
OSSL_TRACE(INIT, "OPENSSL_cleanup: engine_cleanup_int()\n");
engine_cleanup_int();
#endif
+
+#ifndef OPENSSL_NO_DEPRECATED_3_0
OSSL_TRACE(INIT, "OPENSSL_cleanup: ossl_store_cleanup_int()\n");
ossl_store_cleanup_int();
+#endif
OSSL_TRACE(INIT, "OPENSSL_cleanup: openssl_ctx_default_deinit()\n");
openssl_ctx_default_deinit();