aboutsummaryrefslogtreecommitdiffstats
path: root/g10/pkclist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-12-08 16:30:33 +0000
committerWerner Koch <[email protected]>2009-12-08 16:30:33 +0000
commit9a96043be4bed4e18320918e042b1601c9d93e95 (patch)
tree0066f7268d25aa95d59cf5fbb7570e487b809c52 /g10/pkclist.c
parentSupport CERT records via ADNS (diff)
downloadgnupg-9a96043be4bed4e18320918e042b1601c9d93e95.tar.gz
gnupg-9a96043be4bed4e18320918e042b1601c9d93e95.zip
Unification of the search descriptor usage.
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r--g10/pkclist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c
index 16835926e..cbc76c76d 100644
--- a/g10/pkclist.c
+++ b/g10/pkclist.c
@@ -787,7 +787,7 @@ find_and_check_key (const char *name, unsigned int use,
int trustlevel;
if (!name || !*name)
- return gpg_error (GPG_ERR_INV_NAME);
+ return gpg_error (GPG_ERR_INV_USER_ID);
pk = xtrycalloc (1, sizeof *pk);
if (!pk)