1SSL_CTX_sessions(3)                 OpenSSL                SSL_CTX_sessions(3)
2
3
4

NAME

6       SSL_CTX_sessions - access internal session cache
7

SYNOPSIS

9        #include <openssl/ssl.h>
10
11        struct lhash_st *SSL_CTX_sessions(SSL_CTX *ctx);
12

DESCRIPTION

14       SSL_CTX_sessions() returns a pointer to the lhash databases containing
15       the internal session cache for ctx.
16

NOTES

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

SEE ALSO

26       ssl(3), lhash(3), SSL_CTX_add_session(3),
27       SSL_CTX_set_session_cache_mode(3)
28
29
30
311.0.2o                            2019-09-10               SSL_CTX_sessions(3)
Impressum