summaryrefslogtreecommitdiffstats
path: root/crypto/err
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>2022-03-29 21:50:21 +0200
committerDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>2022-05-10 09:47:54 +0200
commit1c8787d5e0b01bedfc3cbe5eab5b85290221d8c1 (patch)
treeace8480fe48e2065b921ad9a4583deb63434265f /crypto/err
parent11e85b8941cb6f728e37f15502f26e67231db6b6 (diff)
err: get rid of err_free_strings_int()
Even though the function is not part of the public api, it is not entirely removed, in order to minimize the chance of breakage, because it is exported from libcrypto. Instead, we keep a dummy implementation. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17974)
Diffstat (limited to 'crypto/err')
-rw-r--r--crypto/err/err.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c
index 041aab4cb8..02fae89746 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -327,8 +327,7 @@ int ERR_unload_strings(int lib, ERR_STRING_DATA *str)
void err_free_strings_int(void)
{
- if (!RUN_ONCE(&err_string_init, do_err_strings_init))
- return;
+ /* obsolete */
}
/********************************************************/