summaryrefslogtreecommitdiffstats
path: root/crypto/err
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/err
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/err')
-rw-r--r--crypto/err/err.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c
index da6d3ee981..b937155c98 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -117,7 +117,7 @@
#include <openssl/crypto.h>
#include <openssl/buffer.h>
#include <openssl/bio.h>
-#include <openssl/err.h>
+#include "internal/err.h"
#include <openssl/opensslconf.h>
static void err_load_strings(int lib, ERR_STRING_DATA *str);
@@ -447,7 +447,7 @@ void ERR_unload_strings(int lib, ERR_STRING_DATA *str)
CRYPTO_THREAD_unlock(err_string_lock);
}
-void ERR_free_strings(void)
+void err_free_strings_intern(void)
{
CRYPTO_THREAD_run_once(&err_string_init, do_err_strings_init);