ERR_load_crypto_strings.3ssl - Man Page

load and free error strings

Synopsis

Deprecated:

 #include <openssl/err.h>

 #if OPENSSL_API_COMPAT < 0x10100000L
 void ERR_load_crypto_strings(void);
 void ERR_free_strings(void);
 #endif

 #include <openssl/ssl.h>

 #if OPENSSL_API_COMPAT < 0x10100000L
 void SSL_load_error_strings(void);
 #endif

Description

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.

See Also

ERR_error_string(3)

History

The ERR_load_crypto_strings(), SSL_load_error_strings(), and ERR_free_strings() functions were deprecated in OpenSSL 1.1.0 by OPENSSL_init_crypto() and OPENSSL_init_ssl() and should not be used.

Referenced By

The man pages ERR_free_strings.3ssl(3) and SSL_load_error_strings.3ssl(3) are aliases of ERR_load_crypto_strings.3ssl(3).

2023-02-06 1.1.1q OpenSSL