summaryrefslogtreecommitdiffstats
path: root/openpgp/examples/notarize.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/examples/notarize.rs')
-rw-r--r--openpgp/examples/notarize.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/openpgp/examples/notarize.rs b/openpgp/examples/notarize.rs
index 1b849376..55f47708 100644
--- a/openpgp/examples/notarize.rs
+++ b/openpgp/examples/notarize.rs
@@ -65,7 +65,8 @@ fn main() {
// Now, create a signer that emits a detached signature.
let mut signer = Signer::new(
message,
- keys.iter_mut().map(|s| -> &mut dyn crypto::Signer { s }).collect())
+ keys.iter_mut().map(|s| -> &mut dyn crypto::Signer { s }).collect(),
+ None)
.expect("Failed to create signer");
// Create a parser for the message to be notarized.