mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
feat: MimeMessage: Put intended recipient fingerprints into signature
This commit is contained in:
@@ -784,7 +784,7 @@ fn encrypted_and_signed(
|
||||
mimeparser: &MimeMessage,
|
||||
expected_fingerprint: &Fingerprint,
|
||||
) -> bool {
|
||||
if let Some(signature) = mimeparser.signature.as_ref() {
|
||||
if let Some((signature, _)) = mimeparser.signature.as_ref() {
|
||||
if signature == expected_fingerprint {
|
||||
true
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user