aboutsummaryrefslogtreecommitdiff
path: root/cmd/sigsum-debug/head/sign/sign.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sigsum-debug/head/sign/sign.go')
-rw-r--r--cmd/sigsum-debug/head/sign/sign.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/sigsum-debug/head/sign/sign.go b/cmd/sigsum-debug/head/sign/sign.go
index 572af9a..6369d21 100644
--- a/cmd/sigsum-debug/head/sign/sign.go
+++ b/cmd/sigsum-debug/head/sign/sign.go
@@ -22,7 +22,7 @@ func Main(args []string, optPrivateKey, optKeyHash string) error {
if err != nil {
return fmt.Errorf("parse private key: %v", err)
}
- keyHash, err := fmtio.KeyHashFromHex(optKeyHash)
+ keyHash, err := fmtio.HashFromHex(optKeyHash)
if err != nil {
return fmt.Errorf("parse key hash: %v", err)
}