SSL_CTX_flush_sessions

Remove sessions from the context's internal cache that have expired by tm.

Synopsis

Declared in <openssl/ssl.h>

void
SSL_CTX_flush_sessions(
    SSL_CTX* ctx,
    long tm);

Parameters

NameDescription
ctxSSL context whose session cache is scanned.
tmExpiration cutoff time (usually time(0)); sessions expired at or before this time are removed.