]> 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:30:29 +0000 (17:30 +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 ae6ca432829e38472219ee17c26baa01b86cb29d..f092687b8496ec3b01b9bb024b3020f353922739 100644 (file)
@@ -71,7 +71,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 176f8d25fc31a23180c074a98070738a4cccaeff..6fc69c5ee396ea97f80336feb13242a3b046dda5 100644 (file)
@@ -241,7 +241,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 6d5b42e0b166f736f2ce1b5e13b7b27aefedb239..5c05acadae3b2b6058f568e7bc78982cbf2d881e 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