aboutsummaryrefslogtreecommitdiff
path: root/cmd/sigsum
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sigsum')
-rw-r--r--cmd/sigsum/cmd.go4
1 files changed, 2 insertions, 2 deletions
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[:]),
}