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 main‐
21 tained separately from the lhash(3) operations, so that the database
22 must not be modified directly but by using the SSL_CTX_add_session(3)
23 family of functions.
24
26 ssl(3), lhash(3), SSL_CTX_add_session(3), SSL_CTX_set_ses‐
27 sion_cache_mode(3)
28
29
30
310.9.8b 2001-02-15 SSL_CTX_sessions(3)