libressl-SSL_SESSION_has_ticket(3)

libressl-SSL_SESSION_has_ticket3

Get details about the ticket associated with a session

Usage

SSL Library (libssl, -lssl) libcrypto

#include <openssl/ssl.h>

int

SSL_SESSION_has_ticket(const SSL_SESSION *s);

unsigned long

SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION *s);

Overview

SSL_SESSION_has_ticket() returns 1 if there is a Session Ticket associated with s or 0 otherwise.

SSL_SESSION_get_ticket_lifetime_hint() returns the lifetime hint in seconds associated with the session ticket.

History

These functions first appeared in OpenSSL 1.1.0 and have been available since OpenBSD 6.3.

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