aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Deziel <simon@sdeziel.info>2026-02-11 21:00:12 +0000
committerGopher Robot <gobot@golang.org>2026-02-12 09:27:43 -0800
commitb45c59c443a0aac0abed3f35e8e307ec5e1c587b (patch)
treeae659921c6c287ab052422e6da8365eb5d1e1fae /src
parent174c92bd7428b41b9b5b59274a83f387a12261c9 (diff)
downloadgo-b45c59c443a0aac0abed3f35e8e307ec5e1c587b.tar.xz
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 <shaojunyang@google.com> Reviewed-by: Daniel McCarney <daniel@binaryparadox.net> Auto-Submit: Roland Shoemaker <roland@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/crypto/tls/common.go2
1 files changed, 1 insertions, 1 deletions
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