]> Cypherpunks repositories - gostls13.git/commit
crypto/internal/fips140deps: fix test for running in FIPS snapshot
authorRuss Cox <rsc@golang.org>
Wed, 20 Nov 2024 14:51:27 +0000 (09:51 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 21 Nov 2024 10:40:09 +0000 (10:40 +0000)
commit28f4e14ebe281d8e46cba430bfd123ce21fcd0cc
treea79c67c38e21f3254fe149502d4385713d58a257
parenta2a4f00783701272e4804b7488adef673ef46666
crypto/internal/fips140deps: fix test for running in FIPS snapshot

In a FIPS snapshot, the import paths have a snapshot version number.
Remove that version in the test before proceeding with the usual checks.

Change-Id: I15c9d11dcac6d33330b334b8e5056c215bffa75c
Reviewed-on: https://go-review.googlesource.com/c/go/+/629977
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/crypto/internal/fips140deps/fipsdeps_test.go