skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 2:... HP Open Source Security for OpenVMS Volume 2:...
go to beginning of reference: CRYPTO Application Programming Interface (API)... CRYPTO Application Programming Interface (API)...
go to previous page: ERR_GET_LIB ERR_GET_LIB
go to next page: ERR_load_stringsERR_load_strings
end of book navigation links


ERR_load_crypto_strings
Description
Return Values
See Also
History
 

NAME

ERR_load_crypto_strings, SSL_load_error_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);


return to top 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.

One of these functions should be called before generating textual error messages. However, this is not required when memory usage is an issue.

ERR_free_strings() frees all previously loaded error strings.


return to top RETURN VALUES  

ERR_load_crypto_strings(), SSL_load_error_strings() and ERR_free_strings() return no values.


return to top SEE ALSO  

err(3) , ERR_error_string(3)


return to top HISTORY  

ERR_load_error_strings(), SSL_load_error_strings() and ERR_free_strings() are available in all versions of SSLeay and OpenSSL.
go to previous page: ERR_GET_LIB ERR_GET_LIB
go to next page: ERR_load_stringsERR_load_strings