We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b0b31a4 + 084376b commit e9915b9Copy full SHA for e9915b9
algorithm_test.go
@@ -19,8 +19,6 @@ import (
19
"bytes"
20
"crypto"
21
"crypto/rand"
22
- _ "crypto/sha256"
23
- _ "crypto/sha512"
24
"flag"
25
"fmt"
26
"strings"
digestset/set_test.go
@@ -17,7 +17,6 @@ package digestset
17
18
import (
"crypto/sha256"
"encoding/binary"
"math/rand"
"testing"
sha.go
@@ -2,6 +2,12 @@ package digest
2
3
4
5
+
6
+ // make sure crypto.SHA256 is registered
7
+ _ "crypto/sha256"
8
9
+ // make sure crypto.sha512 and crypto.SHA384 are registered
10
+ _ "crypto/sha512"
11
)
12
13
const (
0 commit comments