aboutsummaryrefslogtreecommitdiff
path: root/cmd/sigsum
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-04-13 15:04:44 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-04-13 15:04:44 +0200
commitee322c9e18b9675aab08f4c9f38f6be19b1d6890 (patch)
tree86c258859c20a99ed4a7142151ad17f2a06895ab /cmd/sigsum
parent150244638cd425313523f4c95a353fdeea9f593a (diff)
minor edits to make sshsig stuff compile
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[:]),
}