mirror of
https://github.com/golang/go.git
synced 2025-05-28 02:41:30 +00:00
Switch from Certificate.PolicyIdentifiers to Certificate.Policies when marshalling. Fixes #67620 Change-Id: Ib627135a569f53d344b4ee2f892ba139506ce0d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/629855 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Filippo Valsorda <filippo@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Roland Shoemaker <roland@golang.org>
390 B
390 B
The default certificate policies field has changed from
[Certificate.PolicyIdentifiers] to [Certificate.Policies]. When parsing
certificates, both fields will be populated, but when creating certificates
policies will now be taken from the [Certificate.Policies] field instead of the
[Certificate.PolicyIdentifiers field]. This change can be reverted by setting
GODEBUG=x509usepolicies=0
.