]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/fips140/check: remove Enabled
authorFilippo Valsorda <filippo@golang.org>
Tue, 17 Dec 2024 19:03:22 +0000 (20:03 +0100)
committerGopher Robot <gobot@golang.org>
Fri, 3 Jan 2025 16:29:24 +0000 (08:29 -0800)
commite7a8bd5d8bd950764cbc48656fcc5456df7b1e9a
treec55e19d64fdc8f1aebf07b2159920156f4d3e7f9
parent4b652e9f5f5c0793f2e41cd2876bce5a241b2c95
crypto/internal/fips140/check: remove Enabled

check.Enabled, internal/fips140.Enabled, and crypto/fips140.Enabled were
redundant. Package check can just use internal/fips140.Enabled.

check.Verified is still there for the tests and belt-and-suspenders
assurance in crypto/fips140.Enabled, although it's implied by Enabled.

For #69536

Change-Id: I83921cc925da841aba4da79a9a5e9ac526a3f2bf
Reviewed-on: https://go-review.googlesource.com/c/go/+/638855
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
src/crypto/fips140/fips140.go
src/crypto/internal/fips140/check/check.go
src/crypto/internal/fips140/fips140.go