Add SSL_new_session_ticket() API
authorBenjamin Kaduk <bkaduk@akamai.com>
Mon, 16 Mar 2020 18:25:58 +0000 (11:25 -0700)
committerBen Kaduk <kaduk@mit.edu>
Fri, 1 May 2020 22:10:11 +0000 (15:10 -0700)
commit3bfacb5fd4679812a7b9ec61d296b1add64669c0
treebc10cebef57dc828c7da742dada9a3e05910884a
parent6250282f7fc37c5903d051174a69053a80e1b1bd
Add SSL_new_session_ticket() API

This API requests that the TLS stack generate a (TLS 1.3)
NewSessionTicket message the next time it is safe to do so (i.e., we do
not have other data pending write, which could be mid-record).  For
efficiency, defer actually generating/writing the ticket until there
is other data to write, to avoid producing server-to-client traffic when
not needed.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11416)
doc/man3/SSL_CTX_set_num_tickets.pod
include/openssl/ssl.h
ssl/record/rec_layer_s3.c
ssl/ssl_lib.c
ssl/ssl_local.h
ssl/statem/statem_srvr.c