From ee322c9e18b9675aab08f4c9f38f6be19b1d6890 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Wed, 13 Apr 2022 15:04:44 +0200 Subject: minor edits to make sshsig stuff compile --- cmd/sigsum/cmd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') diff --git a/cmd/sigsum/cmd.go b/cmd/sigsum/cmd.go index fc2274e..69598d5 100644 --- a/cmd/sigsum/cmd.go +++ b/cmd/sigsum/cmd.go @@ -73,7 +73,7 @@ func cmdBundle(args []string, policy policy.Policy, optBundleType, optBundleKey, DomainHint: optBundleDomainHint, } - sd := types.SignedData{ + sd := types.Statement{ ShardHint: req.ShardHint, Checksum: *types.HashFn(req.Preimage[:]), } @@ -106,7 +106,7 @@ func cmdFormat(args []string, policy policy.Policy) error { if err != nil { return fmt.Errorf("format: %v", err) } - sd := types.SignedData{ + sd := types.Statement{ ShardHint: policy.ShardHint(), Checksum: *types.HashFn(preimage[:]), } -- cgit v1.2.3