1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
NIIBE Yutaka ebe12be034 agent: Serialize access to passphrase cache.
* agent/cache.c (encryption_lock): Remove.
(cache_lock): New.  Now, we have coarse grain lock to serialize
entire cache access.
(initialize_module_cache): Use CACHE_LOCK.
(init_encryption, new_data): Remove ENCRYPTION_LOCK.
(agent_flush_cache, agent_put_cache, agent_get_cache): Lock the cache.

--

GnuPG-bug-id: 3027
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2017-04-07 08:39:26 +09:00
..
2017-03-07 19:22:48 +09:00
2015-10-28 10:20:17 +01:00
2017-03-07 19:22:48 +09:00
2017-02-21 13:11:46 -05:00
2017-03-07 19:22:48 +09:00
2017-03-07 19:22:48 +09:00
2017-03-07 19:22:48 +09:00
2017-03-07 19:22:48 +09:00