logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SSL_SESSION_is_resumable - determine whether an SSL_SESSION object can be used for resumption

Description

SSL_SESSION_is_resumable() determines whether an SSL_SESSION object can be used to resume a session or
       not. Returns 1 if it can or 0 if not. Note that attempting to resume with a non-resumable session will
       result in a full handshake.

History

       The SSL_SESSION_is_resumable() function was added in OpenSSL 1.1.1.

Name

       SSL_SESSION_is_resumable - determine whether an SSL_SESSION object can be used for resumption

Return Values

SSL_SESSION_is_resumable() returns 1 if the session is resumable or 0 otherwise.

See Also

ssl(7), SSL_get_session(3), SSL_CTX_sess_set_new_cb(3)

Synopsis

        #include <openssl/ssl.h>

        int SSL_SESSION_is_resumable(const SSL_SESSION *s);

See Also