mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
crypto/internal/fips140/rsa: avoid CAST unsetting the service indicator
Without fipsApproved set, when the CAST runs it sets the service indicator to false for the whole span. This is a very late Go 1.24 change, but it is necessary for the frozen FIPS module, and doesn't impact anything else than the FIPS status indicator value. Change-Id: I6a6a46567818135158c3c252b5480431a190572b Reviewed-on: https://go-review.googlesource.com/c/go/+/644636 Auto-Submit: Roland Shoemaker <roland@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Roland Shoemaker <roland@golang.org> Auto-Submit: Filippo Valsorda <filippo@golang.org> Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
This commit is contained in:
parent
3f791c8dfb
commit
b9872221cd
1 changed files with 1 additions and 0 deletions
|
|
@ -171,6 +171,7 @@ func testPrivateKey() *PrivateKey {
|
||||||
N: N, E: 65537,
|
N: N, E: 65537,
|
||||||
},
|
},
|
||||||
d: d, p: p, q: q, qInv: qInv, dP: dP, dQ: dQ,
|
d: d, p: p, q: q, qInv: qInv, dP: dP, dQ: dQ,
|
||||||
|
fipsApproved: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue