1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-04-08 21:40:10 +02:00
Werner Koch 09d4b8f496
gpgsm: Use a cache for ISTRUSTED queries.
* sm/call-agent.c (struct istrusted_cache_s): New.
(istrusted_cache, istrusted_cache_valid): New.
(istrusted_cache_disabled): New.
(flush_istrusted_cache): New.
(struct istrusted_status_parm_s): New.
(istrusted_status_cb): Fill the cache.
(gpgsm_agent_istrusted): Implement a cache.
--

Not a really measurable performance improvements on Linux but maybe
somewhat on Windows (not yet tested).  However, it does not clutter
the log files with IPC calls returning NOT_TRUSTED.

GnuPG-bug-id: 7308
(cherry picked from commit ef2be95258d2e02659e96f6c4df5a9a1a233c8fd)
2024-10-04 09:36:32 +02:00
..
2020-08-28 09:09:34 +02:00
2023-08-31 11:13:38 +02:00
2023-11-08 17:16:31 +01:00
2023-11-08 17:16:31 +01:00
2023-11-08 17:16:31 +01:00