[#SSL_CTX_remove_session] = SSL_CTX_remove_session :mrdocs: Remove a session from an SSL context's internal session cache and mark it non‐resumable. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_remove_session( xref:SSL_CTX.adoc[SSL_CTX]* ctx, xref:SSL_SESSION.adoc[SSL_SESSION]* session); ---- == Return Value 1 on success, or 0 if the session was not found in the cache. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context whose cache is updated. | *session* | Session to remove; SSL_SESSION_free is called once for it. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#