1SSL_CTX_sessions(3) OpenSSL SSL_CTX_sessions(3)
2
3
4
6 SSL_CTX_sessions - access internal session cache
7
9 #include <openssl/ssl.h>
10
11 struct lhash_st *SSL_CTX_sessions(SSL_CTX *ctx);
12
14 SSL_CTX_sessions() returns a pointer to the lhash databases containing
15 the internal session cache for ctx.
16
18 The sessions in the internal session cache are kept in an lhash(3) type
19 database. It is possible to directly access this database e.g. for
20 searching. In parallel, the sessions form a linked list which is
21 maintained separately from the lhash(3) operations, so that the
22 database must not be modified directly but by using the
23 SSL_CTX_add_session(3) family of functions.
24
26 ssl(3), lhash(3), SSL_CTX_add_session(3),
27 SSL_CTX_set_session_cache_mode(3)
28
29
30
311.0.2o 2020-08-01 SSL_CTX_sessions(3)