diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-07-10 10:16:37 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-07-10 10:16:37 +0200 |
commit | 6b9a1cc320a53e28fb1b9c99cb7897db797f253a (patch) | |
tree | 49717ce2e64ad4de2576e4717abcea67aa8e1ce8 /tool | |
parent | 4ba3f2845de226bb6dd675fea35cdb4ad1b538a9 (diff) |
openpgp: Use broken-down time in the literal data packet.
- Also, make the `date` argument in the LiteralWriter's constructor
optional, and explain what the parameters are for.
Diffstat (limited to 'tool')
-rw-r--r-- | tool/src/commands.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands.rs b/tool/src/commands.rs index 95f5b2ea..cd591f52 100644 --- a/tool/src/commands.rs +++ b/tool/src/commands.rs @@ -154,7 +154,7 @@ pub fn encrypt(store: &mut store::Store, &recipients, EncryptionMode::AtRest) .context("Failed to create encryptor")?; - let mut literal_writer = LiteralWriter::new(encryptor, 'b', None, 0) + let mut literal_writer = LiteralWriter::new(encryptor, 'b', None, None) .context("Failed to create literal writer")?; // Finally, copy stdin to our writer stack to encrypt the data. |