This commit is contained in:
Hocuri
2025-08-07 16:26:04 +02:00
parent 40e3c34f59
commit 58d0fd39b5
5 changed files with 19 additions and 20 deletions

View File

@@ -8,7 +8,7 @@ use chrono::SubsecRound;
use deltachat_contact_tools::EmailAddress;
use pgp::armor::BlockType;
use pgp::composed::{
ArmorOptions, Deserializable, InnerRingResult, KeyType as PgpKeyType, Message, MessageBuilder,
ArmorOptions, Deserializable, KeyType as PgpKeyType, Message, MessageBuilder,
SecretKeyParamsBuilder, SignedPublicKey, SignedPublicSubKey, SignedSecretKey,
StandaloneSignature, SubkeyParamsBuilder, TheRing,
};
@@ -272,7 +272,7 @@ pub fn decrypt(
session_keys: vec![],
allow_legacy: false,
};
let (msg, ring_result) = msg.decrypt_the_ring(ring, true)?;
let (msg, _ring_result) = msg.decrypt_the_ring(ring, true)?;
// remove one layer of compression
let msg = msg.decompress()?;