Fixes #75343 (again)
Updates #74115
Change-Id: I6a6a696431d12e45ec9e302e63ed18990c5ee9d9
Reviewed-on: https://go-review.googlesource.com/c/go/+/702615
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Mark Freeman <markfreeman@google.com>
"crypto"
"crypto/internal/boring"
"crypto/internal/cryptotest"
+ "crypto/internal/fips140"
"crypto/rand"
. "crypto/rsa"
"crypto/sha1"
})
t.Run("D+2", func(t *testing.T) {
+ if fips140.Version() == "v1.0" {
+ t.Skip("This was fixed after v1.0.0")
+ }
testModifiedPrivateKey(t, func(k *PrivateKey) {
k.D = new(big.Int).Add(k.D, big.NewInt(2))
})