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.