]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Update documentation regarding no_renegotiation handling
authorMatt Caswell <matt@openssl.org>
Mon, 2 Jun 2025 14:39:45 +0000 (15:39 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 4 Jun 2025 15:28:26 +0000 (17:28 +0200)
Clarify what happens in the event that a no_renegotiation alert is
received.

Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27591)

(cherry picked from commit 0db6a59ea7931024d673024c2d17ff1ec44a4e69)

doc/man3/SSL_CONF_cmd.pod
doc/man3/SSL_CTX_set_options.pod
doc/man3/SSL_key_update.pod

index 136ccd56a3215155a4128a7e5779a33a3f229f27..a3eb517cf87fff642dee9019b42a2ca0a0ea6eeb 100644 (file)
@@ -74,7 +74,7 @@ B<SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION>.
 
 =item B<-no_renegotiation>
 
-Disables all attempts at renegotiation in TLSv1.2 and earlier, same as setting
+Disables all attempts at renegotiation in (D)TLSv1.2 and earlier, same as setting
 B<SSL_OP_NO_RENEGOTIATION>.
 
 =item B<-no_resumption_on_reneg>
index 28b5d680f51c2250882565dfe183ce2d816bead1..3e7a95dc1792e79982217a4d9fc06931e14d8fd1 100644 (file)
@@ -285,7 +285,7 @@ Do not query the MTU. Only affects DTLS connections.
 
 =item SSL_OP_NO_RENEGOTIATION
 
-Disable all renegotiation in TLSv1.2 and earlier. Do not send HelloRequest
+Disable all renegotiation in (D)TLSv1.2 and earlier. Do not send HelloRequest
 messages, and ignore renegotiation requests via ClientHello.
 
 =item SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
index 6238e67649e0334edcbf7d5daa34bcd574237e07..b7af229851cf5b8f6e05d9aee0a9ddb195c309ab 100644 (file)
@@ -53,7 +53,9 @@ such as SSL_read_ex() or SSL_write_ex() takes place on the connection a check
 will be performed to confirm that it is a suitable time to start a
 renegotiation. If so, then it will be initiated immediately. OpenSSL will not
 attempt to resume any session associated with the connection in the new
-handshake.
+handshake. Note that some servers will respond to reneogitation attempts with
+a "no_renegotiation" alert. An OpenSSL will immediately fail the connection in
+this case.
 
 When called from the client side, SSL_renegotiate_abbreviated() works in the
 same was as SSL_renegotiate() except that OpenSSL will attempt to resume the