From d2ee4e40e74ef76efdb14c133af481b948db58c9 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Fri, 24 Nov 2023 12:31:22 +0700 Subject: Fix RFC reference --- crypto/src/tls/TlsClientProtocol.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit 1.4.1