aboutsummaryrefslogtreecommitdiff
path: root/cmd/sigsum-debug/leaf/hash/hash.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-05-21 20:31:09 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-06-21 19:46:54 +0200
commitcb6485bb6075179dc2521b8e82db961deae74faf (patch)
treebf05c3d83686cc056b3ef41b90a37a07b4269833 /cmd/sigsum-debug/leaf/hash/hash.go
parentbbd6591c4f87b3f2c3e870b6418c6234d90a82e6 (diff)
add proof verification to sigsum-debug
Diffstat (limited to 'cmd/sigsum-debug/leaf/hash/hash.go')
-rw-r--r--cmd/sigsum-debug/leaf/hash/hash.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/sigsum-debug/leaf/hash/hash.go b/cmd/sigsum-debug/leaf/hash/hash.go
index 4fd471c..a6fe1ad 100644
--- a/cmd/sigsum-debug/leaf/hash/hash.go
+++ b/cmd/sigsum-debug/leaf/hash/hash.go
@@ -18,7 +18,7 @@ func Main(args []string, optKeyHash, optSignature string, optShardHint uint64) e
if err != nil {
return fmt.Errorf("read stdin: %w", err)
}
- keyHash, err := fmtio.KeyHashFromHex(optKeyHash)
+ keyHash, err := fmtio.HashFromHex(optKeyHash)
if err != nil {
return fmt.Errorf("parse key hash: %w", err)
}