aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keylist.c')
-rw-r--r--g10/keylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keylist.c b/g10/keylist.c
index cc92d1a0d..8ced5ad9e 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -637,7 +637,7 @@ locate_one (ctrl_t ctrl, strlist_t names)
list_keyblock (keyblock, 0, 0, opt.fingerprint, &listctx);
release_kbnode (keyblock);
}
- while (ctx && !get_pubkey_next (ctx, NULL, &keyblock));
+ while (ctx && !getkey_next (ctx, NULL, &keyblock));
get_pubkey_end (ctx);
ctx = NULL;
}