Home GnuPG
Diffusion GpgOL 0b5fb15a94bd

Fix looking at first attachment when body empty

Description

Fix looking at first attachment when body empty

* src/mapihelp.cpp: Check for empty body, too.

Due to some weird mail rewrites that happened when filtering
mails we already have the code to check for the content type
of the first attachment to determine if it is a PGP/MIME or
S/MIME mail. But in this case which reportedly came from
gpgtools the body was empty and PR_BODY was not null.

Details

Provenance
aheineckeAuthored on Sep 1 2023, 6:56 PM
Parents
rO3852b7309bda: po: Fix spelling in error message
Branches
Unknown
Tags
Unknown
Tasks
T6686: GPG4win exchange issue decrypt message from Macos GPGtools