summaryrefslogtreecommitdiff
path: root/src/lib/libssl/doc/SSL_CTX_sessions.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/doc/SSL_CTX_sessions.3')
-rw-r--r--src/lib/libssl/doc/SSL_CTX_sessions.331
1 files changed, 31 insertions, 0 deletions
diff --git a/src/lib/libssl/doc/SSL_CTX_sessions.3 b/src/lib/libssl/doc/SSL_CTX_sessions.3
new file mode 100644
index 0000000000..96aa018289
--- /dev/null
+++ b/src/lib/libssl/doc/SSL_CTX_sessions.3
@@ -0,0 +1,31 @@
1.Dd $Mdocdate: October 12 2014 $
2.Dt SSL_CTX_SESSIONS 3
3.Os
4.Sh NAME
5.Nm SSL_CTX_sessions
6.Nd access internal session cache
7.Sh SYNOPSIS
8.In openssl/ssl.h
9.Ft struct lhash_st *
10.Fn SSL_CTX_sessions "SSL_CTX *ctx"
11.Sh DESCRIPTION
12.Fn SSL_CTX_sessions
13returns a pointer to the lhash databases containing the internal session cache
14for
15.Fa ctx .
16.Sh NOTES
17The sessions in the internal session cache are kept in an
18.Xr lhash 3
19type database.
20It is possible to directly access this database, e.g., for searching.
21In parallel,
22the sessions form a linked list which is maintained separately from the
23.Xr lhash 3
24operations, so that the database must not be modified directly but by using the
25.Xr SSL_CTX_add_session 3
26family of functions.
27.Sh SEE ALSO
28.Xr lhash 3 ,
29.Xr ssl 3 ,
30.Xr SSL_CTX_add_session 3 ,
31.Xr SSL_CTX_set_session_cache_mode 3