core: Do not modify args for ignored failures master
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 20 Apr 2018 12:30:53 +0000 (14:30 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 20 Apr 2018 12:30:53 +0000 (14:30 +0200)
commit7706fa2c922f5e02570b01f145ed474e82341042
treebab29d69acc810b0d4d3f4bd4ab7d022bd2d5eb2
parent302ec1f9aa396f2207e9a0e0b87ebee4d28d5df2
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.

GnuPG-Bug-Id: T3919
src/op-support.c