summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-11-24 12:31:22 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-11-24 12:31:22 +0700
commitd2ee4e40e74ef76efdb14c133af481b948db58c9 (patch)
tree74e6008c044b8a33d33248a68a7853a4d1a88c5f
parentConsistent exception messages (diff)
downloadBouncyCastle.NET-ed25519-d2ee4e40e74ef76efdb14c133af481b948db58c9.tar.xz
Fix RFC reference
-rw-r--r--crypto/src/tls/TlsClientProtocol.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/tls/TlsClientProtocol.cs b/crypto/src/tls/TlsClientProtocol.cs
index 5f60c784c..53cd37123 100644
--- a/crypto/src/tls/TlsClientProtocol.cs
+++ b/crypto/src/tls/TlsClientProtocol.cs
@@ -1732,7 +1732,7 @@ namespace Org.BouncyCastle.Tls
                 TlsExtensionsUtilities.AddSupportedVersionsExtensionClient(m_clientExtensions, supportedVersions);
 
                 /*
-                 * RFC 8446 4.2.1. In compatibility mode [..], this field MUST be non-empty, so a client
+                 * RFC 8446 4.1.2. In compatibility mode [..], this field MUST be non-empty, so a client
                  * not offering a pre-TLS 1.3 session MUST generate a new 32-byte value.
                  */
                 if (legacy_session_id.Length < 1 && TlsUtilities.ShouldUseCompatibilityMode(m_tlsClient))