aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/rsa/pss_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/rsa/pss_test.go')
-rw-r--r--src/crypto/rsa/pss_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crypto/rsa/pss_test.go b/src/crypto/rsa/pss_test.go
index dfa8d8bb5a..32f6f0c3aa 100644
--- a/src/crypto/rsa/pss_test.go
+++ b/src/crypto/rsa/pss_test.go
@@ -9,7 +9,6 @@ import (
"bytes"
"compress/bzip2"
"crypto"
- _ "crypto/md5"
"crypto/rand"
"crypto/sha1"
_ "crypto/sha256"
@@ -211,7 +210,7 @@ func TestPSSSigning(t *testing.T) {
{8, 8, true},
}
- hash := crypto.MD5
+ hash := crypto.SHA1
h := hash.New()
h.Write([]byte("testing"))
hashed := h.Sum(nil)