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