I'm looking for something like: ERR_report_oneoff_error(const char *func, const char *reason, int line, const char *file)
that I could use without having to define structures like the following or calling Err_load_strings and Err_unload_strings: static ERR_STRING_DATA BIO_str_functs[]= { {ERR_FUNC(BIO_F_ACPT_STATE), "ACPT_STATE"}, {ERR_FUNC(BIO_F_BIO_ACCEPT), "BIO_accept"}, ... } static ERR_STRING_DATA BIO_str_reasons[]= { {ERR_REASON(BIO_R_ACCEPT_ERROR) ,"accept error"}, {ERR_REASON(BIO_R_BAD_FOPEN_MODE) ,"bad fopen mode"}, ... } thanks jeff ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org