|ERR_LOAD_CRYPTO_STRINGS(3)||Library Functions Manual||ERR_LOAD_CRYPTO_STRINGS(3)|
load and free OpenSSL error strings
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.
If the error strings were already loaded before, no action occurs.
ERR_free_strings() frees all previously
loaded error strings.
SSL_load_error_strings() first appeared in SSLeay
ERR_free_strings() first appeared in SSLeay
0.5.1. These functions been available since OpenBSD
Even though the error strings are already compiled into the object code of the library as static strings, these functions store them again using dynamically allocated memory on the heap. That may fail if insufficient memory is available, but these functions do not report such errors. Instead, they fail silently, possibly having registered none or only a part of the strings requested.
|June 14, 2019||OpenBSD-current|