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

Name

Description

ctx

SSL context whose session cache is scanned.

tm

Expiration cutoff time (usually time(0)); sessions expired at or before this time are removed.

Created with MrDocs