1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

g10: Eliminate the redundant function get_pubkey_next.

* g10/keydb.h (get_pubkey_next): Remove prototype.
* g10/getkey.c (get_pubkey_next): Remove function.
* g10/keylist.c (locate_one): Use getkey_next instead of
get_pubkey_next.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
This commit is contained in:
Neal H. Walfield 2015-09-14 15:22:25 +02:00
parent 9acbeac236
commit be6743b2e1
3 changed files with 1 additions and 8 deletions

View file

@ -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;
}