diff options
Diffstat (limited to 'tool/src/commands/mod.rs')
-rw-r--r-- | tool/src/commands/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tool/src/commands/mod.rs b/tool/src/commands/mod.rs index 2fc31b6a..7ba0aab0 100644 --- a/tool/src/commands/mod.rs +++ b/tool/src/commands/mod.rs @@ -10,7 +10,6 @@ extern crate sequoia_openpgp as openpgp; use sequoia_core::Context; use crate::openpgp::constants::{ CompressionAlgorithm, - DataFormat, }; use crate::openpgp::crypto; use crate::openpgp::{TPK, KeyID, Result}; @@ -160,8 +159,7 @@ pub fn encrypt(store: &mut store::Store, None)?; } - let mut literal_writer = LiteralWriter::new(sink, DataFormat::Binary, - None, None) + let mut literal_writer = LiteralWriter::new(sink, None, None, None) .context("Failed to create literal writer")?; // Finally, copy stdin to our writer stack to encrypt the data. |