summaryrefslogtreecommitdiffstats
path: root/tool/src/commands/sign.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tool/src/commands/sign.rs')
-rw-r--r--tool/src/commands/sign.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/src/commands/sign.rs b/tool/src/commands/sign.rs
index 119e66e3..b9832035 100644
--- a/tool/src/commands/sign.rs
+++ b/tool/src/commands/sign.rs
@@ -97,9 +97,9 @@ fn sign_data(input: &mut io::Read, output_path: Option<&str>,
let sink = Message::new(output);
let signer = if detached {
- Signer::detached(sink, signers)
+ Signer::detached(sink, signers, None)
} else {
- Signer::new(sink, signers)
+ Signer::new(sink, signers, None)
}.context("Failed to create signer")?;
let mut writer = if detached {
@@ -215,7 +215,7 @@ fn sign_message(input: &mut io::Read, output_path: Option<&str>,
// After the first signature group, we push the signer
// onto the writer stack.
let signers = signers.take().expect("only happens once");
- sink = Signer::new(sink, signers)
+ sink = Signer::new(sink, signers, None)
.context("Failed to create signer")?;
state = State::Signing { signature_count: 0, };
},