ERR_print_errors(3) OpenSSL ERR_print_errors(3) NNAAMMEE ERR_print_errors, ERR_print_errors_fp - print error messages SSYYNNOOPPSSIISS #include void ERR_print_errors(BIO *bp); void ERR_print_errors_fp(FILE *fp); DDEESSCCRRIIPPTTIIOONN _E_R_R___p_r_i_n_t___e_r_r_o_r_s_(_) is a convenience function that prints the error strings for all errors that OpenSSL has recorded to bbpp, thus emptying the error queue. _E_R_R___p_r_i_n_t___e_r_r_o_r_s___f_p_(_) is the same, except that the output goes to a FFIILLEE. The error strings will have the following format: [pid]:error:[error code]:[library name]:[function name]:[reason string]:[file name]:[line]:[optional text message] _e_r_r_o_r _c_o_d_e is an 8 digit hexadecimal number. _l_i_b_r_a_r_y _n_a_m_e, _f_u_n_c_t_i_o_n _n_a_m_e and _r_e_a_s_o_n _s_t_r_i_n_g are ASCII text, as is _o_p_t_i_o_n_a_l _t_e_x_t _m_e_s_s_a_g_e if one was set for the respective error code. If there is no text string registered for the given error code, the error string will contain the numeric code. RREETTUURRNN VVAALLUUEESS _E_R_R___p_r_i_n_t___e_r_r_o_r_s_(_) and _E_R_R___p_r_i_n_t___e_r_r_o_r_s___f_p_(_) return no values. SSEEEE AALLSSOO _e_r_r(3), _E_R_R___e_r_r_o_r___s_t_r_i_n_g(3), _E_R_R___g_e_t___e_r_r_o_r(3), _E_R_R___l_o_a_d___c_r_y_p_t_o___s_t_r_i_n_g_s(3), _S_S_L___l_o_a_d___e_r_r_o_r___s_t_r_i_n_g_s(3) HHIISSTTOORRYY _E_R_R___p_r_i_n_t___e_r_r_o_r_s_(_) and _E_R_R___p_r_i_n_t___e_r_r_o_r_s___f_p_(_) are available in all ver- sions of SSLeay and OpenSSL. 1.0.1u 2016-09-22 ERR_print_errors(3)