ERR_load_crypto_strings(3) — Subroutines
NAME
ERR_load_crypto_strings, ERR_free_strings − Load and free error strings
SYNOPSIS
#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 );
DESCRIPTION
The ERR_load_crypto_strings() function registers the error strings for all libcrypto functions. The SSL_load_error_strings() function does the same, but also registers the libssl error strings.
One of these functions should be called before generating textual error messages. However, this is not required when memory usage is an issue.
The ERR_free_strings() function frees all previously loaded error strings.
RETURN VALUES
The ERR_load_crypto_strings(), SSL_load_error_strings(), and ERR_free_strings() functions return no values.
HISTORY
The ERR_load_error_strings(), SSL_load_error_strings(), and ERR_free_strings() functions are available in all versions of SSLeay and OpenSSL.
SEE ALSO
Functions: err(3), ERR_error_string(3), SSL_load_error_strings(3), ERR_load_SSL_strings(3)