diff options
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r-- | g10/pkclist.c | 2 |
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) |