Home GnuPG
Diffusion GpgOL 48fee63649d7

Do not delete input after sign & encrypt

Description

Do not delete input after sign & encrypt

* src/cryptcontroller.cpp (CryptController::do_crypto): Do
not delete input after constructing MIME.

After sign & encrypt we removed the input as we converted
it into a mimestructure. But that would throw it away for
the second try. In case we call do_crypto again with
the force parameter.

Details

Provenance
aheineckeAuthored on Nov 14 2023, 1:27 PM
Parents
rO4845cafa373b: When S/MIME encryption is forced use offline mode
Branches
Unknown
Tags
Unknown
Tasks
T6701: GpgOL: Use GPGME_ENCRYPT_ALWAYS_TRUST