[Fix] Clean
Some checks failed
CI / checks (push) Failing after 16m34s

This commit is contained in:
Alex Emmet 2026-08-18 21:53:02 +02:00
commit b331b9f6a3
No known key found for this signature in database
12 changed files with 433 additions and 75 deletions

View file

@ -916,9 +916,19 @@ mod tests {
let mut signer_public_keys = recipient.public_key_bundle();
signer_public_keys.sig_cl_public_key = signer_public_key;
signed.verify(SENDER_ID, &signer_public_keys, ProtectionPurpose::from(1))?;
signed.verify_with_policy(
SENDER_ID,
&signer_public_keys,
ProtectionPurpose::from(1),
crate::ProtectionPolicy::any_supported(),
)?;
assert_eq!(
signed.into_verified(SENDER_ID, &signer_public_keys, ProtectionPurpose::from(1))?,
signed.into_verified_with_policy(
SENDER_ID,
&signer_public_keys,
ProtectionPurpose::from(1),
crate::ProtectionPolicy::any_supported(),
)?,
clear_payload
);
Ok(())