Thanks a lot for the help.
Dave Thompson-5 wrote:
Openssl can record multiple error 'items' so you should loop:
while( (err = ERR_get_error()) != 0 )
ERR_error_string(err, buf), puts (err); // or similar
or just call ERR_print_errors[_fp] which does the loop for you
as long as
From: owner-openssl-us...@openssl.org On Behalf Of Pingzhong Li
Sent: Friday, 04 March, 2011 16:11
During a TLS handshake, SSL_get_error call failed and the
error string is retrieved by using the following call:
int sslerror = ERR_get_error();