Manual Pages for UNIX Darwin command on man SSL_CTX_set_quiet_shutdown
MyWebUniversity

Manual Pages for UNIX Darwin command on man SSL_CTX_set_quiet_shutdown

SSLCTXsetquietshutdown(3) OpenSSL SSLCTXsetquietshutdown(3)

NAME

SSLCTXsetquietshutdown, SSLCTXgetquietshutdown,

SSLsetquietshutdown, SSLgetquietshutdown - manipulate shutdown

behaviour

SYNOPSIS

#include

void SSLCTXsetquietshutdown(SSLCTX *ctx, int mode); int SSLCTXgetquietshutdown(const SSLCTX *ctx); void SSLsetquietshutdown(SSL *ssl, int mode); int SSLgetquietshutdown(const SSL *ssl);

DESCRIPTION

SSLCTXsetquietshutdown() sets the "quiet shutdown" flag for ccttxx to be mmooddee. SSL objects created from ccttxx inherit the mmooddee valid at the time SSLnew(3) is called. mmooddee may be 0 or 1. SSLCTXgetquietshutdown() returns the "quiet shutdown" setting of ccttxx. SSLsetquietshutdown() sets the "quiet shutdown" flag for ssssll to be mmooddee. The setting stays valid until ssssll is removed with SSLfree(3) or SSLsetquietshutdown() is called again. It is not changed when SSLclear(3) is called. mmooddee may be 0 or 1. SSLgetquietshutdown() returns the "quiet shutdown" setting of ssssll. NNOOTTEESS Normally when a SSL connection is finished, the parties must send out "close notify" alert messages using SSLshutdown(3) for a clean shutdown. When setting the "quiet shutdown" flag to 1, SSLshutdown(3) will set the internal flags to SSLSENTSHUTDOWN|SSLRECEIVEDSHUTDOWN. (SSLshutdown(3) then behaves like SSLsetshutdown(3) called with SSLSENTSHUTDOWN|SSLRECEIVEDSHUTDOWN.) The session is thus considered to be shutdown, but no "close notify" alert is sent to the peer. This behaviour violates the TLS standard. The default is normal shutdown behaviour as described by the TLS standard.

RETURN VALUES

SSLCTXsetquietshutdown() and SSLsetquietshutdown() do not return diagnostic information. SSLCTXgetquietshutdown() and SSLgetquietshutdown return the current setting.

SEE ALSO

ssl(3), SSLshutdown(3), SSLsetshutdown(3), SSLnew(3), SSLclear(3), SSLfree(3)

0.9.7l 2005-03-30 SSLCTXsetquietshutdown(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™