Home GnuPG
Diffusion GpgOL 3f49889ab026

Restore body on verification error

Description

Restore body on verification error

* src/mail.cpp (Mail::update_body): Restore body if verify
fails.
(Mail::decrypt_verify): Save original body.

If there is an error during verification we should not
"eat" the body. Mostly this will be a technical error
and as we show the result as "insecure" this should
be ok.

Details

Provenance
aheineckeAuthored on Nov 27 2017, 10:46 AM
Parents
rOc31d8cdb40af: Fix multiple selection performance
Branches
Unknown
Tags
Unknown
Tasks
T3538: Signing does not work