Home GnuPG
Diffusion GPGME 195c73589232

core: Handle multiple TOFU_USER lines in verify
195c73589232Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

core: Handle multiple TOFU_USER lines in verify

* src/verify.c (op_data_t): Add conflict_user_seen.
(parse_tofu_user): Return ERR_DUP_VALUE for mutltiple TOFU_USERS.
(_gpgme_verify_status_handler): Handle ERR_DUP_VALUE from
parse_tofu_user to ignore the next TOFU_STATS.

This fixes TOFU Conflict verification with GnuPG-2.1.17 and 2.1.18

Details

Provenance
aheineckeAuthored on Feb 2 2017, 2:02 PM
Parents
rM15050ce5fce4: core: Replace all calls to *sprintf by gpgrt_*sprintf.
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rM195c73589232: core: Handle multiple TOFU_USER lines in verify (authored by Andre Heinecke <aheinecke@intevation.de>).Feb 2 2017, 2:06 PM