]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: fix incorrect EncryptedClientHelloKey comment
authorRoland Shoemaker <roland@golang.org>
Wed, 19 Feb 2025 22:14:54 +0000 (14:14 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 20 Feb 2025 03:33:55 +0000 (19:33 -0800)
Updates #71706

Change-Id: Id689ec476eb3f76500dbf59d716a4376749de700
Reviewed-on: https://go-review.googlesource.com/c/go/+/650719
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Auto-Submit: Roland Shoemaker <roland@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/crypto/tls/common.go

index d6942d2ef14a27b532dee6d1b502f5632e156ea0..f2dde9754b674df86edd88787c30d85a67cf682f 100644 (file)
@@ -870,7 +870,7 @@ type EncryptedClientHelloKey struct {
        // must match the config provided to clients byte-for-byte. The config
        // should only specify the DHKEM(X25519, HKDF-SHA256) KEM ID (0x0020), the
        // HKDF-SHA256 KDF ID (0x0001), and a subset of the following AEAD IDs:
-       // AES-128-GCM (0x0000), AES-256-GCM (0x0001), ChaCha20Poly1305 (0x0002).
+       // AES-128-GCM (0x0001), AES-256-GCM (0x0002), ChaCha20Poly1305 (0x0003).
        Config []byte
        // PrivateKey should be a marshalled private key. Currently, we expect
        // this to be the output of [ecdh.PrivateKey.Bytes].