libressl-SSL_SESSION_is_resumable(3)

libressl-SSL_SESSION_is_resumable3

Determine whether an ssl_session object can be used for resumption

Usage

SSL Library (libssl, -lssl) libcrypto

#include <openssl/ssl.h>

int

SSL_SESSION_is_resumable(const SSL_SESSION *session);

Overview

SSL_SESSION_is_resumable() determines whether the session object can be used to resume a session. Note that attempting to resume with a non-resumable session will result in a full handshake.

Return values

SSL_SESSION_is_resumable() returns 1 if the session is resumable or 0 otherwise. It always returns 0 with LibreSSL.

History

SSL_SESSION_is_resumable() first appeared in OpenSSL 1.1.1 and has been available since OpenBSD 7.0.

From libressl 4.4.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.