aboutsummaryrefslogtreecommitdiff
path: root/zsig/zsig_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'zsig/zsig_test.go')
-rw-r--r--zsig/zsig_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/zsig/zsig_test.go b/zsig/zsig_test.go
index 001d11d..f724078 100644
--- a/zsig/zsig_test.go
+++ b/zsig/zsig_test.go
@@ -1,6 +1,7 @@
package zsig
import (
+ "crypto/sha512"
"os"
"path"
"testing"
@@ -25,7 +26,8 @@ func TestZsig(t *testing.T) {
}
t.Log(z.Header)
- for block := range Sum(z, BlockSize) {
+ h := sha512.New512_256()
+ for block := range Sum(z, BlockSize, h) {
t.Logf("%x", block)
}
})