Home GnuPG
Diffusion GPGME 7706fa2c922f

core: Do not modify args for ignored failures

Description

core: Do not modify args for ignored failures

* src/op-support.c (_gpgme_parse_failure): Ignore gpg-exit failures
before modifying args.

For op_decrypt_verify the status handler for both decrypt and
verify would parse the failure when the first parser ignored
the failure. This resulted in an ERR_INV_ENGINE as the first
call to parse_failure modified the args.

Details

Provenance
aheineckeAuthored on Apr 20 2018, 2:30 PM
Parents
rM302ec1f9aa39: Post release updates
Branches
Unknown
Tags
Unknown
Tasks
T3919: GPGOL: Could not decrypt the data: Invalid crypto engine