summaryrefslogtreecommitdiffstats
path: root/openpgp/src/autocrypt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/autocrypt.rs')
-rw-r--r--openpgp/src/autocrypt.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/openpgp/src/autocrypt.rs b/openpgp/src/autocrypt.rs
index 93661166..4f7596bb 100644
--- a/openpgp/src/autocrypt.rs
+++ b/openpgp/src/autocrypt.rs
@@ -471,8 +471,7 @@ impl AutocryptSetupMessage {
vec![ self.passcode.as_ref().unwrap() ],
&[], None, None)?;
- let mut w = LiteralWriter::new(w, None,
- /* filename*/ None, /* date */ None)?;
+ let mut w = LiteralWriter::new(w).build()?;
// The inner message is an ASCII-armored encoded TPK.
let mut w = armor::Writer::new(