diff options
author | Werner Koch <[email protected]> | 2017-10-18 15:52:41 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-10-19 13:01:38 +0000 |
commit | 8448347b5bdee56e6f9938a93ea92fe4d3c8800c (patch) | |
tree | 50eac7f7c4231084009bb703b3921fb840ddf74b /dirmngr/ks-engine-http.c | |
parent | gpg: Simplify keydb handling of the main import function. (diff) | |
download | gnupg-8448347b5bdee56e6f9938a93ea92fe4d3c8800c.tar.gz gnupg-8448347b5bdee56e6f9938a93ea92fe4d3c8800c.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 <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions