Register a context-wide callback that decides whether new sessions may be resumed.
Declared in <openssl/ssl.h>
void
SSL_CTX_set_not_resumable_session_callback(
SSL_CTX* ctx,
int(* cb)(SSL*, int));
| Name | Description |
|---|---|
| ctx | SSL context whose sessions inherit this policy (copied to new SSL objects by SSL_new). |
| cb | Callback returning non-zero to mark the session non-resumable; is_forward_secure indicates forward secrecy. |