Skip to content

Commit b5f72d9

Browse files
authored
Rebase to 047c2ab841e2d2233d0bef420d1b5ecb545a380a (#327)
1 parent 5da8fff commit b5f72d9

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

config/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"github.com/golang-fips/go": "main",
33
"github.com/golang-fips/openssl": "61a53ab338d5f1657c6fe5d856d24528bfdd731d",
4-
"github.com/golang/go": "66536242fce34787230c42078a7bbd373ef8dcb0"
4+
"github.com/golang/go": "047c2ab841e2d2233d0bef420d1b5ecb545a380a"
55
}

patches/000-fips.patch

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3733,8 +3733,8 @@ index f00e9c80d3..31c4ccea66 100644
37333733
// TestHash performs a set of tests on hash.Hash implementations, checking the
37343734
// documented requirements of Write, Sum, Reset, Size, and BlockSize.
37353735
func TestHash(t *testing.T, mh MakeHash) {
3736-
- if boring.Enabled || fips140.Version() == "v1.0" {
3737-
+ if boring.Enabled() || fips140.Version() == "v1.0" {
3736+
- if boring.Enabled || fips140.Version() == "v1.0.0" {
3737+
+ if boring.Enabled() || fips140.Version() == "v1.0.0" {
37383738
testhash.TestHashWithoutClone(t, testhash.MakeHash(mh))
37393739
return
37403740
}
@@ -4309,8 +4309,8 @@ index 2f54deae68..33b1e2d6eb 100644
43094309
- "crypto/internal/boring"
43104310
+ boring "crypto/internal/backend"
43114311
"crypto/internal/cryptotest"
4312+
"crypto/internal/fips140"
43124313
"crypto/rand"
4313-
. "crypto/rsa"
43144314
@@ -39,8 +39,19 @@ func TestKeyGeneration(t *testing.T) {
43154315
if err == nil {
43164316
t.Errorf("GenerateKey(%d) succeeded without GODEBUG", size)
@@ -5224,8 +5224,8 @@ index b81f19068a..98880542bd 100644
52245224

52255225
require (
52265226
+ github.com/golang-fips/openssl/v2 v2.0.4-0.20240925082504-4fb8ffc9b3b8 // indirect
5227-
golang.org/x/sys v0.33.0 // indirect
5228-
golang.org/x/text v0.26.0 // indirect
5227+
golang.org/x/sys v0.36.0 // indirect
5228+
golang.org/x/text v0.29.0 // indirect
52295229
)
52305230
diff --git a/src/go.sum b/src/go.sum
52315231
index 410eb8648a..3521b49a3e 100644
@@ -5236,9 +5236,9 @@ index 410eb8648a..3521b49a3e 100644
52365236
+github.com/golang-fips/openssl/v2 v2.0.3/go.mod h1:7tuBqX2Zov8Yq5mJ2yzlKhpnxOnWyEzi38AzeWRuQdg=
52375237
+github.com/golang-fips/openssl/v2 v2.0.4-0.20240925082504-4fb8ffc9b3b8 h1:OlLgcP8q2BFCR/MmtJcnY7fsbj8FfMYnvCpYthwHMYA=
52385238
+github.com/golang-fips/openssl/v2 v2.0.4-0.20240925082504-4fb8ffc9b3b8/go.mod h1:OYUBsoxLpFu8OFyhZHxfpN8lgcsw8JhTC3BQK7+XUc0=
5239-
golang.org/x/crypto v0.39.0 h1:SHs+kF4LP+f+p14esP5jAoDpHU8Gu/v9lFRK6IT5imM=
5240-
golang.org/x/crypto v0.39.0/go.mod h1:L+Xg3Wf6HoL4Bn4238Z6ft6KfEpN0tJGo53AAPC632U=
5241-
golang.org/x/net v0.41.0 h1:vBTly1HeNPEn3wtREYfy4GZ/NECgw2Cnl+nK6Nz3uvw=
5239+
golang.org/x/crypto v0.42.0 h1:chiH31gIWm57EkTXpwnqf8qeuMUi0yekh6mT2AvFlqI=
5240+
golang.org/x/crypto v0.42.0/go.mod h1:4+rDnOTJhQCx2q7/j6rAN5XDw8kPjeaXEUR2eL94ix8=
5241+
golang.org/x/net v0.44.0 h1:evd8IRDyfNBMBTTY5XRF1vaZlD+EmWx6x8PkhR04H/I=
52425242
diff --git a/src/go/build/deps_test.go b/src/go/build/deps_test.go
52435243
index 6d92542e31..859d69812a 100644
52445244
--- a/src/go/build/deps_test.go
@@ -5307,8 +5307,8 @@ index ceff24193d..7ce13d24e6 100644
53075307
+++ b/src/internal/goexperiment/flags.go
53085308
@@ -129,4 +129,6 @@ type Flags struct {
53095309

5310-
// GreenTeaGC enables the Green Tea GC implementation.
5311-
GreenTeaGC bool
5310+
// SizeSpecializedMalloc enables malloc implementations that are specialized per size class.
5311+
SizeSpecializedMalloc bool
53125312
+
53135313
+ StrictFIPSRuntime bool
53145314
}
@@ -12278,6 +12278,6 @@ index 8507f01b12..e7b583159e 100644
1227812278
+## explicit; go 1.22
1227912279
+github.com/golang-fips/openssl/v2
1228012280
+github.com/golang-fips/openssl/v2/bbig
12281-
# golang.org/x/crypto v0.39.0
12282-
## explicit; go 1.23.0
12281+
# golang.org/x/crypto v0.42.0
12282+
## explicit; go 1.24.0
1228312283
golang.org/x/crypto/chacha20

0 commit comments

Comments
 (0)