]> Cypherpunks repositories - gostls13.git/commit
cmd/go: remove fips140 dependency on global Fetcher_
authorIan Alexander <jitsu@google.com>
Tue, 18 Nov 2025 17:40:06 +0000 (12:40 -0500)
committerIan Alexander <jitsu@google.com>
Tue, 25 Nov 2025 23:17:20 +0000 (15:17 -0800)
commite7358c6cf4ff6ae478e415d55b15835a19e72440
tree9bf5af22afd03b3e367f81515a252a15a85f8ad0
parent89f6dba7e6a52f14f269349e1dd0d342aa132e1a
cmd/go: remove fips140 dependency on global Fetcher_

This commit makes Unzip a method on the *Fetcher type, and updates
fips140 initialization to use a new Fetcher instance instead of the
global Fetcher_ variable.

Change-Id: Iea8d9ee4dd6e6a2be43520c144aaec6e75c9cd63
Reviewed-on: https://go-review.googlesource.com/c/go/+/722581
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@google.com>
src/cmd/go/internal/fips140/fips140.go
src/cmd/go/internal/modfetch/fetch.go