Name

ERR_load_crypto_strings, SSL_load_error_strings
ERR_free_strings

load and free error strings


Library

libcrypto.lib


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);


Detailed 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 Values

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


See Also

err(), ERR_error_string()


History

ERR_load_error_strings(), SSL_load_error_strings() and ERR_free_strings() are available in all versions of SSLeay and OpenSSL.


Feedback

For additional information or queries on this page send feedback


© 2005-2007 Nokia 

Top