From 738c9c21d8762a319b08f08b703aab87fb7aaad2 Mon Sep 17 00:00:00 2001 From: yuhan6665 <1588741+yuhan6665@users.noreply.github.com> Date: Sun, 10 May 2026 22:08:10 -0400 Subject: [PATCH] crypto/tls: fix CurvePreferences comment SecP256r1MLKEM768 appeared twice while the second should have been SecP384r1MLKEM1024. Change-Id: I0587b53248d2948fe7a33313871c39fe76251e9c GitHub-Last-Rev: de53581 GitHub-Pull-Request: #77551 Reviewed-on: https://go-review.googlesource.com/c/go/+/744481 Reviewed-by: Junyang Shao Reviewed-by: Daniel McCarney Auto-Submit: Roland Shoemaker LUCI-TryBot-Result: Go LUCI Reviewed-by: Roland Shoemaker --- common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.go b/common.go index 9f3c4e3..f2dd4f8 100644 --- a/common.go +++ b/common.go @@ -832,7 +832,7 @@ type Config struct { // or use the GODEBUG=tlsmlkem=0 environment variable. // // From Go 1.26, the default includes the [SecP256r1MLKEM768] and - // [SecP256r1MLKEM768] hybrid post-quantum key exchanges, too. To disable + // [SecP384r1MLKEM1024] hybrid post-quantum key exchanges, too. To disable // them, set CurvePreferences explicitly or use either the // GODEBUG=tlsmlkem=0 or the GODEBUG=tlssecpmlkem=0 environment variable. CurvePreferences []CurveID