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

# SSL\_SESSION\_is\_resumable(3ssl)

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

```
 #include <openssl/ssl.h>
 int SSL_SESSION_is_resumable(const SSL_SESSION *s);
```

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

## RETURN VALUES

**SSL\_SESSION\_is\_resumable()** returns 1 if the session is resumable or 0 otherwise.

## SEE ALSO

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

## HISTORY

The **SSL\_SESSION\_is\_resumable()** function was added in OpenSSL 1.1.1.

## COPYRIGHT

Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License").  You may not use this file except in compliance with the License.  You can obtain a copy in the file LICENSE in the source distribution or at \<https://www.openssl.org/source/license.html\>.
