summaryrefslogtreecommitdiffstats
path: root/include/crypto/err.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-11-12 09:19:24 +0100
committerRichard Levitte <levitte@openssl.org>2020-11-24 15:21:44 +0100
commitf5a46ed7fe66520c6f1016eb96e96cb241ba229f (patch)
treeaad7f22a6fbca9e545fa6f3af18b73c97059c6e1 /include/crypto/err.h
parent9343d3fe3bc5a4a2d6461c640d34a96e950177ad (diff)
Modify the ERR init functions to use the internal ERR string loaders
This deprecates all the ERR_load_ functions, and moves their definition to separate C source files that can easily be removed when those functions are finally removed. This also reduces include/openssl/kdferr.h to include cryptoerr_legacy.h, moves the declaration of ERR_load_ERR_strings() from include/openssl/err.h to include/openssl/cryptoerr_legacy.h, and finally removes the declaration of ERR_load_DSO_strings(), which was entirely internal anyway. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13390)
Diffstat (limited to 'include/crypto/err.h')
-rw-r--r--include/crypto/err.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/err.h b/include/crypto/err.h
index 527f19667d..d4c32bcf67 100644
--- a/include/crypto/err.h
+++ b/include/crypto/err.h
@@ -10,6 +10,7 @@
#ifndef OSSL_CRYPTO_ERR_H
# define OSSL_CRYPTO_ERR_H
+int err_load_ERR_strings_int(void);
int err_load_crypto_strings_int(void);
void err_cleanup(void);
int err_shelve_state(void **);