[openssl-users] ssl_accept failure

Skip Carter skip at taygeta.com
Fri Oct 26 18:16:10 UTC 2018

On Fri, 2018-10-26 at 10:07 +0100, Matt Caswell wrote:

> How did you generate this error string? It looks like you might have
> taken the return value (5) from SSL_get_error() and stuffed it into
> ERR_error_string() or a similar function. That would give you output
> like this - but is the incorrect way of doing things.

Yeah, thats what I did.  After looking at the docs more carefully, I
think I am now handling the error properly.  But I am still stuck:

   ret = ERR_get_error();

is returning 0, so there is no error queue to interpret, and errno is

Skip Carter
Taygeta Scientific Inc.

More information about the openssl-users mailing list