From: Filippo Valsorda Date: Sun, 7 Sep 2025 14:45:59 +0000 (+0200) Subject: [release-branch.go1.24] crypto/internal/fips140: revert post-sealing change to FIPS... X-Git-Tag: go1.24.8~19 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=908f609315ddc3ff0c347ee2a3f0c0765ddf2557;p=gostls13.git [release-branch.go1.24] crypto/internal/fips140: revert post-sealing change to FIPS 140-3 module This small change landed in CL 650675 after v1.0.0.zip was sealed. Since we are re-sealing it from release-branch.go1.24, revert it to avoid it showing up on the diff between the two zip files. Updates #75523 Change-Id: I6a6a6964625880a209682dec72faa8aff74644fd Reviewed-on: https://go-review.googlesource.com/c/go/+/701440 Reviewed-by: Daniel McCarney LUCI-TryBot-Result: Go LUCI Reviewed-by: Roland Shoemaker Reviewed-by: Mark Freeman --- diff --git a/src/crypto/internal/fips140/check/check.go b/src/crypto/internal/fips140/check/check.go index 454cd6c738..f8a5d7a41e 100644 --- a/src/crypto/internal/fips140/check/check.go +++ b/src/crypto/internal/fips140/check/check.go @@ -100,7 +100,7 @@ func init() { clear(nbuf[:]) h.Reset() - if godebug.Value("fips140") == "debug" { + if godebug.Value("#fips140") == "debug" { println("fips140: verified code+data") }