aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keydb.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-10-18 11:09:47 +0000
committerWerner Koch <[email protected]>2017-10-19 13:00:05 +0000
commit752cae6dd2ee8982a34c796a3f168ae538f7938c (patch)
treec1afb59f58433f5e6094502e160cfbfd986fda82 /g10/keydb.h
parentsm: Fix colon listing of fields > 12 in crt records. (diff)
downloadgnupg-752cae6dd2ee8982a34c796a3f168ae538f7938c.tar.gz
gnupg-752cae6dd2ee8982a34c796a3f168ae538f7938c.zip
gpg: Simplify keydb handling of the main import function.
* g10/import.c (import_keys_internal): Return gpg_error_t instead of int. Change var names. (import_keys_es_stream): Ditto. (import_one): Ditto. Use a single keydb_new and simplify the use of of keydb_release. -- Note that this opens a keydb handle before we call get_pubkey_byfprint_fast which internally uses another key db handle. A further patch will cleanup this double use. Note that we also disable the keydb caching for the insert case. The s/int/gpg_error_t/ has been done while checking the call chains of the import functions and making sure that gpg_err_code is always used. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/keydb.h')
0 files changed, 0 insertions, 0 deletions