Return a pointer to the context's internal SSL_SESSION LHASH cache.

Synopsis

Declared in <openssl/ssl.h>

lhash_st_SSL_SESSION*
SSL_CTX_sessions(SSL_CTX* ctx);

Return Value

Pointer to the internal LHASH; do not modify it directly—use SSL_CTX_add_session and related APIs.

Parameters

Name

Description

ctx

SSL context whose session cache is accessed.

Created with MrDocs