ERR_load_crypto_strings3ssl
Load and free error strings
Usage
The following functions have been deprecated since OpenSSL 1.1.0, and can be hidden entirely by defining OPENSSL_API_COMPAT with a suitable version value, see openssl_user_macros(7):
#include <openssl/err.h>void ERR_load_crypto_strings(void);void ERR_free_strings(void);#include <openssl/ssl.h>void SSL_load_error_strings(void);
Overview
ERR_load_crypto_strings() registers the error strings for all libcrypto functions. SSL_load_error_strings() does the same, but also registers the libssl error strings.
In versions prior to OpenSSL 1.1.0, ERR_free_strings() releases any resources created by the above functions.
Return values
ERR_load_crypto_strings(), SSL_load_error_strings() and ERR_free_strings() return no values.
Releases
13 releases since Debian 3.0 (Woody); the text changed 12 times.