diff options
Diffstat (limited to 'tool/tests/sq-sign.rs')
-rw-r--r-- | tool/tests/sq-sign.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tool/tests/sq-sign.rs b/tool/tests/sq-sign.rs index 2923bc01..6155190e 100644 --- a/tool/tests/sq-sign.rs +++ b/tool/tests/sq-sign.rs @@ -10,7 +10,7 @@ extern crate sequoia_openpgp as openpgp; use crate::openpgp::{Packet, PacketPile, TPK}; use crate::openpgp::crypto::KeyPair; use crate::openpgp::packet::key::SecretKeyMaterial; -use crate::openpgp::constants::{CompressionAlgorithm, DataFormat, SignatureType}; +use crate::openpgp::constants::{CompressionAlgorithm, SignatureType}; use crate::openpgp::parse::Parse; use crate::openpgp::serialize::stream::{Message, Signer, Compressor, LiteralWriter}; @@ -220,8 +220,7 @@ fn sq_sign_append_on_compress_then_sign() { let compressor = Compressor::new(signer, CompressionAlgorithm::Uncompressed, None) .unwrap(); - let mut literal = LiteralWriter::new(compressor, DataFormat::Binary, None, - None) + let mut literal = LiteralWriter::new(compressor, None, None, None) .unwrap(); io::copy( &mut File::open(&p("messages/a-cypherpunks-manifesto.txt")).unwrap(), |