LIBRESSL-SSL_SESSION_IS_RESUMABLE(3)

πŸ“¦ version 4.4.0, in alpine 3.24, arch rolling

πŸ’– SSL_SESSION_IS_RESUMABLE(3) πŸ’–

okay bestie, welcome to the LibreSSL manual page for SSL_SESSION_is_resumable β€” section 3, Library Functions Manual, the whole vibe. This is your go-to for checking whether an SSL_SESSION object can be used for resumption. Slay. ✨


🌸 NAME 🌸

SSL_SESSION_is_resumable β€” determine whether an SSL_SESSION object can be used for resumption. That’s the mission, that’s the moment. πŸ’…


✨ SYNOPSIS ✨

okay so you’re pulling in the library situation and the header, and the function looks like this:

library β€œlibssl” 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. That’s literally the function’s whole personality. 🫢

Note that attempting to resume with a non-resumable session will result in a full handshake. So yeah β€” if the session is not resumable, you’re getting the full-handshake experience instead of the cute little resume moment. 😭

πŸŽ€ RETURN VALUES πŸŽ€

  • 1 β€” the session is resumable ✨
  • 0 β€” otherwise

and with LibreSSL, it always returns 0. Not me getting a permanent zero, but okay. πŸ’€


🌈 SEE ALSO 🌈

go read those too, bestie β€” the lore is connected. πŸ‘‘


⭐ HISTORY ⭐

SSL_SESSION_is_resumable() first appeared in OpenSSL 1.1.1 and has been available since OpenBSD 7.0. iconic little timeline moment. πŸ¦‹


Debian Β· June 8, 2025 Β· SSL_SESSION_IS_RESUMABLE(3) β€” brought to you with section-3 main character energy, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from