We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67096f0 commit 4db5a4aCopy full SHA for 4db5a4a
magefile.go
@@ -488,13 +488,6 @@ func (Test) Unit(ctx context.Context) error {
488
func (Test) FIPSOnlyUnit(ctx context.Context) error {
489
mg.Deps(Prepare.Env, Build.TestBinaries)
490
491
- // We pre-cache go module dependencies before running the unit tests with
492
- // GODEBUG=fips140=only. Otherwise, the command that runs the unit tests
493
- // will try to download the dependencies and could fail because the TLS
494
- // negotiation with the Go module proxy could use a non-FIPS compliant
495
- // key exchange protocol, e.g. X25519.
496
- RunGo("mod", "download")
497
-
498
params := devtools.DefaultGoTestUnitArgs()
499
params.Env["FIPS"] = "true"
500
0 commit comments