[#SSL_CTX_set_not_resumable_session_callback] = SSL_CTX_set_not_resumable_session_callback :mrdocs: Register a context‐wide callback that decides whether new sessions may be resumed. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SSL_CTX_set_not_resumable_session_callback( xref:SSL_CTX.adoc[SSL_CTX]* ctx, int(* cb)(xref:SSL.adoc[SSL]*, int)); ---- == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#