Hello again,

> I have investigated this issue of -1/SSL_ERROR_SYSCALL with errno==0.
> 
> 
>  From the SSL_get_error(3) man page:
> 
> SSL_ERROR_SYSCALL
>     Some I/O error occurred.  The OpenSSL error queue may contain more 
> information on the error.  If the error queue is empty (i.e. 
> ERR_get_error() returns 0), ret can be used to find out more about the 
> error: If ret == 0, an EOF was observed that violates the protocol.  If 
> ret == -1, the underlying BIO reported an I/O error (for socket I/O on 
> Unix systems, consult errno for details).

Well, in our case, and unless I'm mistaken,
ret == -1, ERR_get_error() == 0 and then errno (the Unix errno) == 0.

Perhaps errno gets cleared by another operation... I may try to
investigate if I get some time.

Regards

Antoine.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to