]> Cypherpunks repositories - gostls13.git/commit
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>
Sat, 15 Feb 2025 00:08:33 +0000 (16:08 -0800)
commit10cef816aa9769345016c04032090ae7f5851f5c
tree96f0ffe9058175b4f12b492cd4a17fb680085677
parent7b7307f632052c0ab3752f24f6d787b281bb5b99
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

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>
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