ERR_load_crypto_strings 3 2000-07-16 0.9.9-dev OpenSSL

NAME

ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings - load and free error strings

LIBRARY

libcrypto, -lcrypto

SYNOPSIS


 #include 


 void ERR_load_crypto_strings(void);
 void ERR_free_strings(void);


 #include 


 void SSL_load_error_strings(void);

DESCRIPTION

_E_R_R___l_o_a_d___c_r_y_p_t_o___s_t_r_i_n_g_s_(_) registers the error strings for all lliibbccrryyppttoo functions. _S_S_L___l_o_a_d___e_r_r_o_r___s_t_r_i_n_g_s_(_) does the same, but also registers the lliibbssssll 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.

_E_R_R___f_r_e_e___s_t_r_i_n_g_s_(_) frees all previously loaded error strings.

RETURN VALUES

_E_R_R___l_o_a_d___c_r_y_p_t_o___s_t_r_i_n_g_s_(_), _S_S_L___l_o_a_d___e_r_r_o_r___s_t_r_i_n_g_s_(_) and _E_R_R___f_r_e_e___s_t_r_i_n_g_s_(_) return no values.

SEE ALSO

_o_p_e_n_s_s_l___e_r_r(3), _E_R_R___e_r_r_o_r___s_t_r_i_n_g(3)

HISTORY

_E_R_R___l_o_a_d___e_r_r_o_r___s_t_r_i_n_g_s_(_), _S_S_L___l_o_a_d___e_r_r_o_r___s_t_r_i_n_g_s_(_) and _E_R_R___f_r_e_e___s_t_r_i_n_g_s_(_) are available in all versions of SSLeay and OpenSSL.