aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keylist.c')
-rw-r--r--g10/keylist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/keylist.c b/g10/keylist.c
index 8ced5ad9e..bfc6d49fa 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -579,7 +579,7 @@ list_one (strlist_t names, int secret, int mark_secret)
if (rc)
{
log_error ("error reading key: %s\n", gpg_strerror (rc));
- get_pubkey_end (ctx);
+ getkey_end (ctx);
return;
}
@@ -638,7 +638,7 @@ locate_one (ctrl_t ctrl, strlist_t names)
release_kbnode (keyblock);
}
while (ctx && !getkey_next (ctx, NULL, &keyblock));
- get_pubkey_end (ctx);
+ getkey_end (ctx);
ctx = NULL;
}
}