diff options
author | Neal H. Walfield <[email protected]> | 2015-11-17 12:42:43 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-11-17 13:52:59 +0000 |
commit | eae982ed6d69644258afe9c4ad1be553853d8403 (patch) | |
tree | 853ea2a4157ebb9ec7766273759b8446ce1112c3 | |
parent | Fix typos found using codespell. (diff) | |
download | gnupg-eae982ed6d69644258afe9c4ad1be553853d8403.tar.gz gnupg-eae982ed6d69644258afe9c4ad1be553853d8403.zip |
gpg: Use a more appropriate error code.
* g10/gpg.c (check_user_ids): Return a more appropriate error code if
a user id is ambiguous.
--
Signed-off-by: Neal H. Walfield <[email protected]>
-rw-r--r-- | g10/gpg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2209,7 +2209,7 @@ check_user_ids (strlist_t *sp, log_info (_("(check argument of option '%s')\n"), option); if (! rc) - rc = GPG_ERR_CONFLICT; + rc = GPG_ERR_AMBIGUOUS_NAME; err = keydb_get_keyblock (hd, &kb); if (err) |