diff options
| author | Adam Langley <agl@golang.org> | 2012-04-04 12:53:59 -0400 |
|---|---|---|
| committer | Adam Langley <agl@golang.org> | 2012-04-04 12:53:59 -0400 |
| commit | 22690e662197836806e5d30a1bd49013ea16a50a (patch) | |
| tree | 59df78a94d34dc116b9a3472f4ae062299b85650 /src/pkg/path/filepath/path_test.go | |
| parent | 34ace1043ea17eccc48777144ad6b62d31a00690 (diff) | |
| download | go-22690e662197836806e5d30a1bd49013ea16a50a.tar.xz | |
crypto/rsa: only enforce that de ≡ 1 mod |(ℤ/nℤ)*| in order to load private keys generated by GnuTLS.
Previously we checked that de ≡ 1 mod φ(n). Since φ(n) is a multiple
of |(ℤ/nℤ)*|, this encompassed the new check, but it was too strict as
keys generated by GnuTLS would be rejected when gcd(p-1,q-1)≠1.
(Also updated the error strings in crypto/rsa to contain the package name, which some were missing.)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5867043
Diffstat (limited to 'src/pkg/path/filepath/path_test.go')
0 files changed, 0 insertions, 0 deletions
