]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.24] internal/godebugs: add fips140 as an opaque godebug setting
authorIan Lance Taylor <iant@golang.org>
Thu, 13 Feb 2025 22:40:01 +0000 (14:40 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 26 Feb 2025 05:52:03 +0000 (21:52 -0800)
commitf5c388313f5ca4c6d71ddc2d8e14d552e5c7648b
treecfb97e7a15d331eac4ca143aa63f056ea23936a8
parentaf236716b2308d018e021dc617ab6935459e2b42
[release-branch.go1.24] internal/godebugs: add fips140 as an opaque godebug setting

This permits using "godebug fips140=on" in go.mod and
using "//go:debug fips140=on" in the main package.

Change code references to the godebug setting to remove the #
which is no longer required.

For #71666
Fixes #71745

Change-Id: I3a60ecc55b03848dadd6d431eb43137b6df6568b
Reviewed-on: https://go-review.googlesource.com/c/go/+/649495
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
(cherry picked from commit 2b43ce0a9d5825d66aa42a6fa9076f2fb9c181ea)
Reviewed-on: https://go-review.googlesource.com/c/go/+/650675
Commit-Queue: Ian Lance Taylor <iant@google.com>
src/crypto/fips140/fips140.go
src/crypto/internal/fips140/check/check.go
src/crypto/internal/fips140only/fips140only.go
src/crypto/internal/fips140test/check_test.go
src/internal/godebugs/table.go