|ERR_LOAD_CRYPTO_STRINGS(3)||Library Functions Manual||ERR_LOAD_CRYPTO_STRINGS(3)|
load and free OpenSSL error strings
only registers the error strings for the BIGNUM part
of the library, i.e. the functions documented in
BN_new(3) and in the manual
pages referenced from there. That may be useful if no other parts of the
crypto library are used by the program. Similar functions exist for other
parts of the crypto library, but they are not yet documented.
If the error strings were already loaded before, no action occurs.
One of these functions should be called before generating textual error messages. However, this is not required when memory usage is an issue.
frees all previously loaded error strings.
ERR_free_strings() are available in all versions of
SSLeay and OpenSSL.
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.
|January 26, 2017||OpenBSD-6.1|