diff options
Diffstat (limited to 'openpgp/examples/generate-sign-verify.rs')
-rw-r--r-- | openpgp/examples/generate-sign-verify.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/examples/generate-sign-verify.rs b/openpgp/examples/generate-sign-verify.rs index 1a7c0579..44afaf36 100644 --- a/openpgp/examples/generate-sign-verify.rs +++ b/openpgp/examples/generate-sign-verify.rs @@ -47,7 +47,7 @@ fn sign(sink: &mut Write, plaintext: &str, tsk: &openpgp::TPK) let message = Message::new(sink); // We want to sign a literal data packet. - let signer = Signer::new(message, vec![&mut keypair])?; + let signer = Signer::new(message, vec![&mut keypair], None)?; // Emit a literal data packet. let mut literal_writer = LiteralWriter::new( |