diff options
author | Neal H. Walfield <neal@g10code.com> | 2015-09-14 15:22:25 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@g10code.com> | 2015-09-16 15:15:20 +0200 |
commit | be6743b2e19241f66148bf89c3442d8e2ebcd63e (patch) | |
tree | f27a1d27cfe7a81c0bc5905998f884b77d7b68dd /g10/getkey.c | |
parent | kbx: Change skipfnc's prototype so that we can provide all information. (diff) | |
download | gnupg2-be6743b2e19241f66148bf89c3442d8e2ebcd63e.tar.xz gnupg2-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 <neal@g10code.com>.
Diffstat (limited to 'g10/getkey.c')
-rw-r--r-- | g10/getkey.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/g10/getkey.c b/g10/getkey.c index 56dbfa0b6..4e031f2da 100644 --- a/g10/getkey.c +++ b/g10/getkey.c @@ -926,12 +926,6 @@ get_pubkey_byname (ctrl_t ctrl, GETKEY_CTX * retctx, PKT_public_key * pk, } -int -get_pubkey_next (GETKEY_CTX ctx, PKT_public_key * pk, KBNODE * ret_keyblock) -{ - return gpg_err_code (getkey_next (ctx, pk, ret_keyblock)); -} - void get_pubkey_end (GETKEY_CTX ctx) { |