]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Correct the documentation for SSL_set_num_tickets()
authorMatt Caswell <matt@openssl.org>
Sat, 11 Sep 2021 08:58:52 +0000 (09:58 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 17 Sep 2021 12:33:23 +0000 (14:33 +0200)
The behaviour for what happens in a resumption connection was not quite
described correctly.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16582)

doc/man3/SSL_CTX_set_num_tickets.pod

index c06583304f0739cfa7111b85aaae45a19dd92bff..95ed719df7c57a5774e706b7634d4b8fd1eb7103 100644 (file)
@@ -27,10 +27,10 @@ the client after a full handshake. Set the desired value (which could be 0) in
 the B<num_tickets> argument. Typically these functions should be called before
 the start of the handshake.
 
-The default number of tickets is 2; the default number of tickets sent following
-a resumption handshake is 1 but this cannot be changed using these functions.
-The number of tickets following a resumption handshake can be reduced to 0 using
-custom session ticket callbacks (see L<SSL_CTX_set_session_ticket_cb(3)>).
+The default number of tickets is 2. Following a resumption the number of tickets
+issued will never be more than 1 regardless of the value set via
+SSL_set_num_tickets() or SSL_CTX_set_num_tickets(). If B<num_tickets> is set to
+0 then no tickets will be issued for either a normal connection or a resumption.
 
 Tickets are also issued on receipt of a post-handshake certificate from the
 client following a request by the server using