aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2024-12-26 17:45:27 -0500
committerAustin Clements <austin@google.com>2025-01-02 08:05:11 -0800
commit4363924f06c8e74de37c8a80a6e089d456e885a8 (patch)
tree73b3ecea892f9c41dbeb1771a49ed94ec5c0859e
parent595111ed624e7c17a59cc66b538cfc92afd80346 (diff)
downloadgo-x-website-4363924f06c8e74de37c8a80a6e089d456e885a8.tar.xz
_content/doc/go1.24: link to GenerateKey example
Change-Id: I16e44987a6a71c94aa891775b0de234826b8f2e1 Reviewed-on: https://go-review.googlesource.com/c/website/+/638878 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Filippo Valsorda <filippo@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
-rw-r--r--_content/doc/go1.24.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/_content/doc/go1.24.md b/_content/doc/go1.24.md
index a31b45c3..e8cc2fe3 100644
--- a/_content/doc/go1.24.md
+++ b/_content/doc/go1.24.md
@@ -391,8 +391,8 @@ a key smaller than 1024 bits. Such keys are insecure and should not be used.
[GODEBUG setting](/doc/godebug) `rsa1024min=0` restores the old behavior, but we
recommend doing so only if necessary and only in tests, for example by adding a
`//go:debug rsa1024min=0` line to a test file.
-A new [`GenerateKey`](/pkg/crypto/rsa#GenerateKey) example provides an
-easy-to-use standard 2048-bit test key.
+A new `GenerateKey` [example](/pkg/crypto/rsa#example-GenerateKey-TestKey)
+provides an easy-to-use standard 2048-bit test key.
It is now safe and more efficient to call
[`PrivateKey.Precompute`](/pkg/crypto/rsa#PrivateKey.Precompute) before