Note that SSL_get_error() is not meant to be used on SSL_shutdown()
return values (although it would be good to have some API that behaves
similarly to SSL_read, SSL_write, SSL_do_handshake etc. in this respect).

If SSL_shutdown() always returns 0 when called multiple times, this is
probably because the server (which, presumably, is not OpenSSL-based)
does not properly close the connection and fails to send a closure
alert. This is a protocol violation; however, it should be safe to
tolerate it because connection closure will not have to be authenticated
for most application protocols.

Ticket closed because this looks like a bug in the server software,
which appears to be not OpenSSL-based.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to