NAME
SSLgetdefaulttimeout - get default session timeout value
SYNOPSIS
#include
long SSLgetdefaulttimeout(const SSL *ssl);DESCRIPTION
SSLgetdefaulttimeout() returns the default timeout value assigned to SSLSESSION objects negotiated for the protocol valid for ssssll. NNOOTTEESS 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 SSLCTXsettimeout(3), the hardcoded default timeout for the protocol will be used. SSLgetdefaulttimeout() 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), SSLCTXsetsessioncachemode(3), SSLSESSIONgettime(3), SSLCTXflushsessions(3), SSLgetdefaulttimeout(3)0.9.7l 2005-03-30 SSLgetdefaulttimeout(3)