[[EMAIL PROTECTED] - Tue Jul 23 15:07:51 2002]:

> The problem is that SSL_shutdown() returns "0" with SSL_get_error() ==
> "SSL_ERROR_SYSCALL" in both cases.

The first "0" is ok. The second "0" is not ok, it may indicate, that
the peer closed the connection but did not send back the "close"
message. This won't hurt you much and could probably be ignored.

In any case I'll have to go through the code again and maybe update
the manual page to be more clear about what might happen. Therefore
I have bounced your message into the request tracker.

> PS: If I'm using SSLv2_client_method instead of SSLv3_client_method,
> the first SSL_shutdown() returns "1" (no problems)

SSLv2 does not specify correct shutdown behaviour, so it cannot
fail :-)

Best regards,
     Lutz
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to