1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 39f907cb00
gpgsm: Try avoiding too many open calls for pubring.kbx.
* sm/gpgsm.h (struct server_control_s): Add fields cached_kh and
cached_kh_for_set_cert_flags.
* sm/certchain.c (do_validate_chain): Cache the keydb handle.
* sm/keydb.c (keydb_set_cert_flags): Ditto
(keydb_release): Invalidate the caches.
--

In particular under Windows opening a file may be a expensive
operation if malware^Dantivirus software gets in the way.

Due to changed locking behaviour this patch has a regression risk.
2023-05-04 12:01:04 +02:00
..
2023-03-16 09:46:05 +01:00
2023-03-16 09:46:05 +01:00
2022-12-09 14:06:08 +09:00
2021-02-24 08:40:06 +01:00
2023-04-03 14:10:33 +02:00