From b45c59c443a0aac0abed3f35e8e307ec5e1c587b Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Wed, 11 Feb 2026 21:00:12 +0000 Subject: [PATCH] crypto/tls: fix CurvePreferences comment SecP256r1MLKEM768 appeared twice while the second should have been SecP384r1MLKEM1024. Change-Id: I0587b53248d2948fe7a33313871c39fe76251e9c GitHub-Last-Rev: de535819a33347feacfaa32d984ce58d206613d0 GitHub-Pull-Request: golang/go#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 --- src/crypto/tls/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/tls/common.go b/src/crypto/tls/common.go index ebaeb385aa..f38a43829a 100644 --- a/src/crypto/tls/common.go +++ b/src/crypto/tls/common.go @@ -807,7 +807,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 -- 2.52.0