Home GnuPG
Diffusion GpgOL ceaf9a6c09ba

Fix draft encryption for async crypt in OOM

Description

Fix draft encryption for async crypt in OOM

* src/mail.cpp (Mail::checkSyncCrypto_o): Disable async for
draft encryption.
* src/mailitem-events.cpp: Do not cancel write because crypto
is now done synchronously.

The simple solution to fix draft encryption in the new branch
is not do it asynchronously. Of course we have to block the
write for the draft until we have done the encryption.

Details

Provenance
aheineckeAuthored on Jan 6 2021, 9:50 AM
Parents
rO28b05072198e: Handle protected-headers also on multipart parts
Branches
Unknown
Tags
Unknown
References
async-enc2