diff options
author | Neal H. Walfield <[email protected]> | 2015-09-14 13:22:25 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-09-16 13:15:20 +0000 |
commit | be6743b2e19241f66148bf89c3442d8e2ebcd63e (patch) | |
tree | f27a1d27cfe7a81c0bc5905998f884b77d7b68dd /g10/keylist.c | |
parent | kbx: Change skipfnc's prototype so that we can provide all information. (diff) | |
download | gnupg-be6743b2e19241f66148bf89c3442d8e2ebcd63e.tar.gz gnupg-be6743b2e19241f66148bf89c3442d8e2ebcd63e.zip |
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 <[email protected]>.
Diffstat (limited to 'g10/keylist.c')
-rw-r--r-- | g10/keylist.c | 2 |
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; } |