aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirmngr/server.c')
-rw-r--r--dirmngr/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dirmngr/server.c b/dirmngr/server.c
index cd6cfa912..2880dcb47 100644
--- a/dirmngr/server.c
+++ b/dirmngr/server.c
@@ -1672,7 +1672,8 @@ lookup_cert_by_pattern (assuan_context_t ctx, char *line,
if (!err && single)
goto ready;
- if (gpg_err_code (err) == GPG_ERR_NO_DATA)
+ if (gpg_err_code (err) == GPG_ERR_NO_DATA
+ || gpg_err_code (err) == GPG_ERR_NOT_FOUND)
{
err = 0;
if (cache_only)