SSL_get_default_timeout 3 2005-04-23 0.9.9-dev OpenSSL

NAME

SSL_get_default_timeout - get default session timeout value

LIBRARY

libcrypto, -lcrypto

SYNOPSIS


 #include 


 long SSL_get_default_timeout(const SSL *ssl);

DESCRIPTION

_S_S_L___g_e_t___d_e_f_a_u_l_t___t_i_m_e_o_u_t_(_) returns the default timeout value assigned to SSL_SESSION objects negotiated for the protocol valid for ssssll.

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 _S_S_L___C_T_X___s_e_t___t_i_m_e_o_u_t(3), the hardcoded default timeout for the protocol will be used.

_S_S_L___g_e_t___d_e_f_a_u_l_t___t_i_m_e_o_u_t_(_) return this hardcoded value, which is 300 seconds for all currently supported protocols (SSLv2, SSLv3, and TLSv1).

RETURN VALUES

See description.

SEE ALSO

_s_s_l(3), _S_S_L___C_T_X___s_e_t___s_e_s_s_i_o_n___c_a_c_h_e___m_o_d_e(3), _S_S_L___S_E_S_S_I_O_N___g_e_t___t_i_m_e(3), _S_S_L___C_T_X___f_l_u_s_h___s_e_s_s_i_o_n_s(3), _S_S_L___g_e_t___d_e_f_a_u_l_t___t_i_m_e_o_u_t(3)