1SSL_get_default_timeout(3)          OpenSSL         SSL_get_default_timeout(3)
2
3
4

NAME

6       SSL_get_default_timeout - get default session timeout value
7

SYNOPSIS

9        #include <openssl/ssl.h>
10
11        long SSL_get_default_timeout(const SSL *ssl);
12

DESCRIPTION

14       SSL_get_default_timeout() returns the default timeout value assigned to
15       SSL_SESSION objects negotiated for the protocol valid for ssl.
16

NOTES

18       Whenever a new session is negotiated, it is assigned a timeout value,
19       after which it will not be accepted for session reuse. If the timeout
20       value was not explicitly set using SSL_CTX_set_timeout(3), the
21       hardcoded default timeout for the protocol will be used.
22
23       SSL_get_default_timeout() return this hardcoded value, which is 300
24       seconds for all currently supported protocols (SSLv2, SSLv3, and
25       TLSv1).
26

RETURN VALUES

28       See description.
29

SEE ALSO

31       ssl(3), SSL_CTX_set_session_cache_mode(3), SSL_SESSION_get_time(3),
32       SSL_CTX_flush_sessions(3), SSL_get_default_timeout(3)
33
34
35
361.0.2o                            2020-08-01        SSL_get_default_timeout(3)
Impressum