mirror of
https://github.com/golang/go
synced 2024-11-22 04:54:42 -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:
parent
493edb2973
commit
5ebb4e282e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user