]> Cypherpunks repositories - gostls13.git/commitdiff
doc: add note about crypto/x509 serial generation
authorRoland Shoemaker <roland@golang.org>
Tue, 26 Nov 2024 23:13:49 +0000 (15:13 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 26 Nov 2024 23:50:52 +0000 (23:50 +0000)
Fixes #67675

Change-Id: I102c779c2a0ccaf6572be354fec3153a0a0a32eb
Reviewed-on: https://go-review.googlesource.com/c/go/+/631683
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Roland Shoemaker <roland@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
doc/next/6-stdlib/99-minor/crypto/x509/67675.md [new file with mode: 0644]

diff --git a/doc/next/6-stdlib/99-minor/crypto/x509/67675.md b/doc/next/6-stdlib/99-minor/crypto/x509/67675.md
new file mode 100644 (file)
index 0000000..4824f97
--- /dev/null
@@ -0,0 +1,3 @@
+[`CreateCertificate`] will now generate a serial number using a RFC 5280
+compliant method when passed a template with a nil [`Certificate.SerialNumber`]
+field, instead of failing.
\ No newline at end of file