err is being set to -1
SSL_get_error is returning SSL_ERROR_SYSCALL
errno is 11, EAGAIN
ERR_get_error is returning 0

err is -1, what is 5, errno = 11, err_err = 0

Is this a problem with non-blocking sockets?

~~Scott


(And if this helps at all, the output of openssl s_server is:
        .
        .
        SSL_accept: SSLv2 write server hello A
        SSL_accept: failed in SSLv2 read client masterkey A

then the connection closes)



> -----Original Message-----
> From: Lutz Jaenicke [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, November 16, 2002 12:27 AM
> To: [EMAIL PROTECTED]
> Subject: Re: FW: SSL_ERROR_SYSCALL
> 
> 
> On Fri, Nov 15, 2002 at 05:04:02PM -0800, Moffet, Scott wrote:
> > After reading many of the archived messages, I see a common 
> question is the error return.  It's -1.  So, it's not just a 
> closed connection.  It's some sort of protocol error.
> 
> If a SSL_* function returns -1, it leaves a more detailed 
> error message
> in the error queue (man ERR_get_error).
> 
> Best regards,
>       Lutz
> -- 
> Lutz Jaenicke                             
> [EMAIL PROTECTED]
> http://www.aet.TU-Cottbus.DE/personen/jaenicke/
> BTU Cottbus, Allgemeine Elektrotechnik
> Universitaetsplatz 3-4, D-03044 Cottbus
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> 
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to