diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-12-22 01:15:33 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-12-22 01:15:33 +0000 |
commit | 409a5e7eb4cca107037fafa4a7eea92603edb83d (patch) | |
tree | 06f36bbef6fae78278f799194ad0df8ba2dabaa1 /libgo/go/crypto | |
parent | 7e9268b4cf01ab87d9b602f592ed2e2facfadda9 (diff) | |
download | gcc-409a5e7eb4cca107037fafa4a7eea92603edb83d.zip gcc-409a5e7eb4cca107037fafa4a7eea92603edb83d.tar.gz gcc-409a5e7eb4cca107037fafa4a7eea92603edb83d.tar.bz2 |
libgo: Update to revision 15193:6fdc1974457c of master library.
From-SVN: r194692
Diffstat (limited to 'libgo/go/crypto')
-rw-r--r-- | libgo/go/crypto/cipher/example_test.go | 4 | ||||
-rw-r--r-- | libgo/go/crypto/x509/x509_test.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libgo/go/crypto/cipher/example_test.go b/libgo/go/crypto/cipher/example_test.go index c888eb2..e0027ca 100644 --- a/libgo/go/crypto/cipher/example_test.go +++ b/libgo/go/crypto/cipher/example_test.go @@ -241,7 +241,7 @@ func ExampleStreamReader() { // Note that this example is simplistic in that it omits any // authentication of the encrypted data. It you were actually to use - // StreamReader in this manner, an attacker could flip arbitary bits in + // StreamReader in this manner, an attacker could flip arbitrary bits in // the output. } @@ -278,6 +278,6 @@ func ExampleStreamWriter() { // Note that this example is simplistic in that it omits any // authentication of the encrypted data. It you were actually to use - // StreamReader in this manner, an attacker could flip arbitary bits in + // StreamReader in this manner, an attacker could flip arbitrary bits in // the decrypted result. } diff --git a/libgo/go/crypto/x509/x509_test.go b/libgo/go/crypto/x509/x509_test.go index a13f459..b2d6fe3 100644 --- a/libgo/go/crypto/x509/x509_test.go +++ b/libgo/go/crypto/x509/x509_test.go @@ -439,7 +439,7 @@ func TestECDSA(t *testing.T) { t.Errorf("%d: public key algorithm is %v, want ECDSA", i, pka) } if err = cert.CheckSignatureFrom(cert); err != nil { - t.Errorf("%d: certificate verfication failed: %s", i, err) + t.Errorf("%d: certificate verification failed: %s", i, err) } } } @@ -519,7 +519,7 @@ func TestVerifyCertificateWithDSASignature(t *testing.T) { } // test cert is self-signed if err = cert.CheckSignatureFrom(cert); err != nil { - t.Fatalf("DSA Certificate verfication failed: %s", err) + t.Fatalf("DSA Certificate verification failed: %s", err) } } |