summaryrefslogtreecommitdiffstats
path: root/crypto/init.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-04 13:43:58 +0100
committerMatt Caswell <matt@openssl.org>2016-04-13 08:52:33 +0100
commit6827cb3610fee4ec8cc120cc6b5bf88b04884ae7 (patch)
tree1c2bec63a701723843db0e541fe037432336469d /crypto/init.c
parent02a247e0fa23f2caa9c10df3adf3476eb9813c95 (diff)
Deprecate ERR_free_strings() and make it a no-op
ERR_free_strings() should not be called expicitly - we should leave auto-deinit to clean this up instead. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/init.c')
-rw-r--r--crypto/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/init.c b/crypto/init.c
index fe1ecd876c..3699145ac6 100644
--- a/crypto/init.c
+++ b/crypto/init.c
@@ -444,9 +444,9 @@ void OPENSSL_cleanup(void)
if (load_crypto_strings_inited) {
#ifdef OPENSSL_INIT_DEBUG
fprintf(stderr, "OPENSSL_INIT: OPENSSL_cleanup: "
- "ERR_free_strings()\n");
+ "err_free_strings_intern()\n");
#endif
- ERR_free_strings();
+ err_free_strings_intern();
}
CRYPTO_THREAD_cleanup_local(&threadstopkey);