---
name: "libressl-SSL_SESSION_is_resumable"
section: "3"
platform: "linux"
package: "libressl"
version: "4.4.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libressl-SSL_SESSION_is_resumable"
---

# libressl-SSL\_SESSION\_is\_resumable(3)

determine whether an SSL\_SESSION object can be used for resumption

## NAME

**SSL\_SESSION\_is\_resumable** – determine whether an SSL\_SESSION object can be used for resumption

## SYNOPSIS

SSL Library (libssl, -lssl) libcrypto

**#include \<openssl/ssl.h\>**

*int*\

**SSL\_SESSION\_is\_resumable**(*const SSL\_SESSION \*session*);

## DESCRIPTION

**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.

## SEE ALSO

[ssl(3)](/ssl/3.md), SSL\_CTX\_sess\_set\_new\_cb(3), SSL\_get\_session(3)

## HISTORY

**SSL\_SESSION\_is\_resumable**() first appeared in OpenSSL 1.1.1 and has been available since OpenBSD 7.0.
