[openssl-users] What is the best practise for shutdown SSL connections?

Viktor Dukhovni openssl-users at dukhovni.org
Sun Feb 1 22:11:29 UTC 2015


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.


More information about the openssl-users mailing list