summaryrefslogtreecommitdiff
path: root/src/pkg/crypto/rsa/rsa.go
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-06-10 10:59:18 +0200
committerOndřej Surý <ondrej@sury.org>2011-06-10 10:59:18 +0200
commitc29cace1e8f3260389ea78fa4ef86d80cd5e5275 (patch)
tree947e4435053998a194caacab99bf614d8fd5bc78 /src/pkg/crypto/rsa/rsa.go
parent56135c623a865c501ab31cc940c0e22ece2673f4 (diff)
downloadgolang-c29cace1e8f3260389ea78fa4ef86d80cd5e5275.tar.gz
Imported Upstream version 2011.06.09upstream-weekly/2011.06.09
Diffstat (limited to 'src/pkg/crypto/rsa/rsa.go')
-rw-r--r--src/pkg/crypto/rsa/rsa.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/crypto/rsa/rsa.go b/src/pkg/crypto/rsa/rsa.go
index 6bfe6c4e5..380f71570 100644
--- a/src/pkg/crypto/rsa/rsa.go
+++ b/src/pkg/crypto/rsa/rsa.go
@@ -64,7 +64,7 @@ func (priv *PrivateKey) Validate() os.Error {
// easy for an attack to generate composites that pass this test.
for _, prime := range priv.Primes {
if !big.ProbablyPrime(prime, 20) {
- return os.ErrorString("Prime factor is composite")
+ return os.ErrorString("prime factor is composite")
}
}