remove_session_cb
void (*remove_session_cb)(struct ssl_ctx_st
|| s->session_ctx->remove_session_cb != NULL
void (*remove_session_cb)(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
if (s->remove_session_cb != NULL)
s->remove_session_cb(s, current);
ctx->remove_session_cb = cb;
return ctx->remove_session_cb;
if (ctx->remove_session_cb != NULL)
ctx->remove_session_cb(ctx, c);
SSL_CTX_sess_set_remove_cb(cctx, remove_session_cb);
SSL_CTX_sess_set_remove_cb(sctx, remove_session_cb);