]> 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:21:42 +0000 (17:21 +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)

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

index e2c1e6984703a06d6ea3883ddca24656718a5090..9338ffc01ddfe2c5f286906116b34e24af0e97c4 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 c9733525811ff1e89790bf38526e4ecdb7149d49..69a21570673a3a5e5951a602ffbc334e79d709a3 100644 (file)
@@ -292,7 +292,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