diff options
Diffstat (limited to 'src/lib/libssl/doc/SSL_CTX_sessions.3')
-rw-r--r-- | src/lib/libssl/doc/SSL_CTX_sessions.3 | 31 |
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 | ||
13 | returns a pointer to the lhash databases containing the internal session cache | ||
14 | for | ||
15 | .Fa ctx . | ||
16 | .Sh NOTES | ||
17 | The sessions in the internal session cache are kept in an | ||
18 | .Xr lhash 3 | ||
19 | type database. | ||
20 | It is possible to directly access this database, e.g., for searching. | ||
21 | In parallel, | ||
22 | the sessions form a linked list which is maintained separately from the | ||
23 | .Xr lhash 3 | ||
24 | operations, so that the database must not be modified directly but by using the | ||
25 | .Xr SSL_CTX_add_session 3 | ||
26 | family 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 | ||