fix test error
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package sha256
|
||||
|
||||
// llgo:skipall
|
||||
|
||||
import (
|
||||
"hash"
|
||||
"unsafe"
|
||||
@@ -67,3 +66,8 @@ func Sum256(data []byte) (ret [Size]byte) {
|
||||
openssl.SHA256Bytes(data, &ret[0])
|
||||
return
|
||||
}
|
||||
|
||||
func Sum(data []byte) (ret [Size]byte) {
|
||||
openssl.SHA256Bytes(data, &ret[0])
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user