libressl-ERR_load_crypto_strings3
Load and free openssl error strings
Usage
Crypto Library (libcrypto, -lcrypto)
#include <openssl/err.h>
void
ERR_load_crypto_strings(void);
void
ERR_free_strings(void);
SSL Library (libssl, -lssl) libcrypto
#include <openssl/ssl.h>
void
SSL_load_error_strings(void);
Overview
These functions are deprecated. It is never useful for any application program to call any of them explicitly. The library automatically calls them internally whenever needed.
ERR_load_crypto_strings() registers the error strings for all crypto(3) functions. SSL_load_error_strings() does the same, but also registers the ssl(3) error strings.
If the error strings were already loaded before, no action occurs.
ERR_free_strings() frees all previously loaded error strings.