summaryrefslogtreecommitdiffstats
path: root/common/openpgp-oid.c
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@g10code.com>2015-11-16 10:34:01 +0100
committerNeal H. Walfield <neal@g10code.com>2015-11-16 10:34:01 +0100
commit8e2bea22b0927f4f95a248cc7517f407a705d8a8 (patch)
treecd348eabb2ca97ff174bdd98c2cf681e79e020d9 /common/openpgp-oid.c
parentgpg: Use only one fingerprint formatting function. (diff)
downloadgnupg2-8e2bea22b0927f4f95a248cc7517f407a705d8a8.tar.xz
gnupg2-8e2bea22b0927f4f95a248cc7517f407a705d8a8.zip
gpg: Fix error checking and improve error reporting.
* g10/gpg.c (check_user_ids): Differentiate between a second result and an error. If the key specification is ambiguous or an error occurs, set RC appropriately. -- Signed-off-by: Neal H. Walfield <neal@g10code.com> Reported-by: Werner Koch <wk@gnupg.org> Suggested-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'common/openpgp-oid.c')
0 files changed, 0 insertions, 0 deletions