1
0
mirror of https://github.com/golang/go synced 2024-11-22 10:34:46 -07:00

crypto/internal/fips/check: remove unreachable return

return statement is immediately after a panic. This is unreachable
code and vet complains.

Change-Id: I1e483a552b0d1d543414c1e173c1140aa32b5b26
Reviewed-on: https://go-review.googlesource.com/c/go/+/628555
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Tim King 2024-11-15 15:53:13 -08:00 committed by Gopher Robot
parent 493edb2973
commit 5ebb4e282e

View File

@ -86,7 +86,6 @@ func init() {
// false negatives. For now, FIPS+ASAN doesn't need to work.
// If this is made to work, also re-enable the test in check_test.go.
panic("fips140: cannot verify in asan mode")
return
}
switch v {