diff options
author | Werner Koch <wk@gnupg.org> | 2017-10-18 17:52:41 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-10-18 17:52:41 +0200 |
commit | 3bb06531d38b85be295308e826a50a1a7ba935ec (patch) | |
tree | 360d1fdf5d0dbe47bed2ddbfcdcb72cb5d34140c /m4/iconv.m4 | |
parent | gpg: Simplify keydb handling of the main import function. (diff) | |
download | gnupg2-3bb06531d38b85be295308e826a50a1a7ba935ec.tar.xz gnupg2-3bb06531d38b85be295308e826a50a1a7ba935ec.zip |
gpg: Improve keydb handling in the main import function.
* g10/getkey.c (get_pubkey_byfprint_fast): Factor most code out to ...
(get_keyblock_byfprint_fast): .. new function.
* g10/import.c (revocation_present): s/int rc/gpg_error_t err/.
(import_one): Use get_keyblock_byfprint_fast to get the keyblock and a
handle. Remove the now surplus keyblock fetch in the merge branch.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'm4/iconv.m4')
0 files changed, 0 insertions, 0 deletions