mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <neal@g10code.com>.
This commit is contained in:
parent
be6743b2e1
commit
65e58ae674
3 changed files with 14 additions and 22 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue