GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SSL_CTX_SET_NUM_TICKETS(3) FreeBSD Library Functions Manual SSL_CTX_SET_NUM_TICKETS(3)

SSL_CTX_set_num_tickets, SSL_CTX_get_num_tickets, SSL_set_num_tickets, SSL_get_num_ticketsset and get the number of TLS 1.3 session tickets to be sent

#include <openssl/ssl.h>

int
SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets);

size_t
SSL_CTX_get_num_tickets(const SSL_CTX *ctx);

int
SSL_set_num_tickets(SSL *ssl, size_t num_tickets);

size_t
SSL_get_num_tickets(const SSL *ssl);

These functions set and retrieve the configured number of session tickets for ctx and ssl, respectively.

They are provided only for compatibility with OpenSSL and have no effect in LibreSSL.

SSL_CTX_set_num_tickets() and SSL_set_num_tickets() always return 1.

SSL_CTX_get_num_tickets() and SSL_get_num_tickets() return the previously set number of tickets, or 0 if it has not been set.

ssl(3), SSL_CTX_new(3)

These function first appeared in OpenSSL 1.1.1 and have been available since OpenBSD 7.1.

October 23, 2021 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.