ion will be automatically removed from the session cache and marked as non-resumable if the connection is not closed down cleanly, e.g. if a fatal error occurs on the connection or <a href="../man3/SSL_shutdown.html">SSL_shutdown(3)</a> is not called prior to <a href="../man3/SSL_free.html">SSL_free(3)</a>.</p>

<p>In TLSv1.3 it is recommended that each SSL_SESSION object is only used for resumption once.</p>

<p>SSL_get0_session() returns a pointer to the actual session. As the reference counter is not inc