Set the callback invoked when a session is removed from an SSL context cache.
Synopsis
Declared in <openssl/ssl.h>
void
SSL_CTX_sess_set_remove_cb(
SSL_CTX* ctx,
void(* remove_session_cb)(ssl_ctx_st*, SSL_SESSION*));
Parameters
Name |
Description |
ctx |
SSL context whose session cache remove callback is set. |
remove_session_cb |
Callback receiving the context and the session being removed; NULL disables it. |
Created with MrDocs