SSL_CTX_get_num_tickets

Return how many TLSv1.3 session tickets servers from a context are configured to send.

Synopsis

Declared in <openssl/ssl.h>

size_t
SSL_CTX_get_num_tickets(SSL_CTX const* ctx);

Return Value

Configured ticket count.

Parameters

NameDescription
ctxSSL context previously configured with SSL_CTX_set_num_tickets(), or the default of 2.