ssl_get_default_timeout(3ssl) posix man page | unix.com

Man Page: ssl_get_default_timeout

Operating Environment: posix

Section: 3ssl

SSL_get_default_timeout(3SSL)					      OpenSSL					     SSL_get_default_timeout(3SSL)

NAME
SSL_get_default_timeout - get default session timeout value
SYNOPSIS
#include <openssl/ssl.h> long SSL_get_default_timeout(const SSL *ssl);
DESCRIPTION
SSL_get_default_timeout() returns the default timeout value assigned to SSL_SESSION objects negotiated for the protocol valid for ssl.
NOTES
Whenever a new session is negotiated, it is assigned a timeout value, after which it will not be accepted for session reuse. If the timeout value was not explicitly set using SSL_CTX_set_timeout(3), the hardcoded default timeout for the protocol will be used. SSL_get_default_timeout() return this hardcoded value, which is 300 seconds for all currently supported protocols (SSLv2, SSLv3, and TLSv1).
RETURN VALUES
See description.
SEE ALSO
ssl(3), SSL_CTX_set_session_cache_mode(3), SSL_SESSION_get_time(3), SSL_CTX_flush_sessions(3), SSL_get_default_timeout(3) 1.0.1e 2013-02-11 SSL_get_default_timeout(3SSL)
Related Man Pages
ssl_get_default_timeout(3ssl) - linux
ssl_get_default_timeout(3ssl) - debian
ssl_get_default_timeout(3ssl) - mojave
ssl_get_default_timeout(3ssl) - freebsd
ssl_get_default_timeout(3ssl) - posix
Similar Topics in the Unix Linux Community
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Equivalent to let command in POSIX shell
I'll probably never be the best in the field...
Quick Status Update for The UNIX and Linux Forums
The square root code I coded on this site...