On Mon, Feb 02, 2015 at 12:28:12AM +0300, Serj wrote: > > Why do you expect "2"? ?[ Note, something is screwing up itemized > > lists in the on-line documentation. ?Instead of showing item labels, > > item numbers are showing up instead. ] > > Here: https://www.openssl.org/docs/ssl/SSL_shutdown.html I see only this: > ----------------------------------------------------- > RETURN VALUES > > The following return values can occur: > > 1. The shutdown is not yet finished. Call SSL_shutdown() for a second time, if a bidirectional shutdown shall be performed. The output of SSL_get_error may be misleading, as an erroneous SSL_ERROR_SYSCALL may be flagged even though no error occurred. > > 2. The shutdown was successfully completed. The "close notify" alert was sent and the peer's "close notify" alert was received. > > <0 The formatting of itemized lists in the on-line HTML is broken. -- Viktor.