summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2023-04-26 12:19:41 +0200
committerJustus Winter <justus@sequoia-pgp.org>2023-04-26 14:58:59 +0200
commit3acfaefbb73a6ace1e656b8f5971679e00aab5e7 (patch)
treeb102fb8c778c4f34cc9c1edd9685d0fef2d8e64a
parent65e1e3690840cb180a4aac710bff51dd3e826b16 (diff)
openpgp: Fix test.
- Don't enable AEAD-encryption by default in the test. Instead, that should be inferred from the recipient keys.
-rw-r--r--openpgp/src/serialize/stream.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/openpgp/src/serialize/stream.rs b/openpgp/src/serialize/stream.rs
index 88ced21e..41f39ae6 100644
--- a/openpgp/src/serialize/stream.rs
+++ b/openpgp/src/serialize/stream.rs
@@ -4028,7 +4028,6 @@ mod test {
let message = Message::new(&mut sink);
let message =
Encryptor::for_recipients(message, recipients)
- .aead_algo(AEADAlgorithm::const_default())
.build()?;
let mut message = LiteralWriter::new(message).build()?;
message.write_all(b"Hello world.")?;