diff options
author | Neal H. Walfield <[email protected]> | 2015-09-14 13:31:25 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-09-16 13:15:21 +0000 |
commit | 65e58ae6748c280c8633d2ca5f227ebe1220805d (patch) | |
tree | c02b2630d0969d3165dc6c22b71d8ae07bf51b94 /g10/keylist.c | |
parent | g10: Eliminate the redundant function get_pubkey_next. (diff) | |
download | gnupg-65e58ae6748c280c8633d2ca5f227ebe1220805d.tar.gz gnupg-65e58ae6748c280c8633d2ca5f227ebe1220805d.zip |
g10: Eliminate the redundant function get_pubkey_end.
* g10/keydb.h (get_pubkey_end): Remove declaration. Replace use of
function with getkey_end.
* g10/getkey.c (get_pubkey_byname): Remove function.
--
Signed-off-by: Neal H. Walfield <[email protected]>.
Diffstat (limited to 'g10/keylist.c')
-rw-r--r-- | g10/keylist.c | 4 |
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; } } |