diff options
author | bentley <> | 2014-10-12 09:33:04 +0000 |
---|---|---|
committer | bentley <> | 2014-10-12 09:33:04 +0000 |
commit | 82b7f378b6907ab315a6e50322d2a0a8794a0aa9 (patch) | |
tree | a5087bf8d016a6041c2b6822fbecfd8f6c5e70b1 /src/lib/libssl/doc/SSL_get_default_timeout.3 | |
parent | 0a63f0cf49369e1926567ab62e04e3355cedf0cd (diff) | |
download | openbsd-82b7f378b6907ab315a6e50322d2a0a8794a0aa9.tar.gz openbsd-82b7f378b6907ab315a6e50322d2a0a8794a0aa9.tar.bz2 openbsd-82b7f378b6907ab315a6e50322d2a0a8794a0aa9.zip |
Convert libssl manpages from pod to mdoc(7).
libcrypto has not been started yet.
ok schwarze@ miod@
Diffstat (limited to 'src/lib/libssl/doc/SSL_get_default_timeout.3')
-rw-r--r-- | src/lib/libssl/doc/SSL_get_default_timeout.3 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/lib/libssl/doc/SSL_get_default_timeout.3 b/src/lib/libssl/doc/SSL_get_default_timeout.3 new file mode 100644 index 0000000000..28ab34d5e8 --- /dev/null +++ b/src/lib/libssl/doc/SSL_get_default_timeout.3 | |||
@@ -0,0 +1,33 @@ | |||
1 | .Dd $Mdocdate: October 12 2014 $ | ||
2 | .Dt SSL_GET_DEFAULT_TIMEOUT 3 | ||
3 | .Os | ||
4 | .Sh NAME | ||
5 | .Nm SSL_get_default_timeout | ||
6 | .Nd get default session timeout value | ||
7 | .Sh SYNOPSIS | ||
8 | .In openssl/ssl.h | ||
9 | .Ft long | ||
10 | .Fn SSL_get_default_timeout "const SSL *ssl" | ||
11 | .Sh DESCRIPTION | ||
12 | .Fn SSL_get_default_timeout | ||
13 | returns the default timeout value assigned to | ||
14 | .Vt SSL_SESSION | ||
15 | objects negotiated for the protocol valid for | ||
16 | .Fa ssl . | ||
17 | .Sh 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. | ||
20 | If the timeout value was not explicitly set using | ||
21 | .Xr SSL_CTX_set_timeout 3 , | ||
22 | the hardcoded default timeout for the protocol will be used. | ||
23 | .Pp | ||
24 | .Fn SSL_get_default_timeout | ||
25 | return this hardcoded value, which is 300 seconds for all currently supported | ||
26 | protocols (SSLv2, SSLv3, and TLSv1). | ||
27 | .Sh RETURN VALUES | ||
28 | See description. | ||
29 | .Sh SEE ALSO | ||
30 | .Xr ssl 3 , | ||
31 | .Xr SSL_CTX_flush_sessions 3 , | ||
32 | .Xr SSL_CTX_set_session_cache_mode 3 , | ||
33 | .Xr SSL_SESSION_get_time 3 | ||