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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/examples/notarize.rs b/openpgp/examples/notarize.rs
index c627d4f1..d17aec44 100644
--- a/openpgp/examples/notarize.rs
+++ b/openpgp/examples/notarize.rs
@@ -87,7 +87,7 @@ fn main() {
// Then, create a literal writer to wrap the data in a
// literal message packet.
let mut literal =
- LiteralWriter::new(signer, None, None, None)
+ LiteralWriter::new(signer).build()
.expect("Failed to create literal writer");
// Copy all the data.