mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
dirmngr: Serialize access to hosttable.
* dirmngr/dirmngr.h (ks_hkp_init): New. * dirmngr/dirmngr.c (main): Call ks_hkp_init. * dirmngr/ks-engine-hkp.c (ks_hkp_init): New. (ks_hkp_mark_host): Serialize access to hosttable. (ks_hkp_print_hosttable, make_host_part): Likewise. (ks_hkp_housekeeping, ks_hkp_reload): Likewise. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
f80346f42d
commit
995aded587
3 changed files with 64 additions and 8 deletions
|
@ -218,7 +218,7 @@ int dirmngr_use_tor (void);
|
|||
/*-- Various housekeeping functions. --*/
|
||||
void ks_hkp_housekeeping (time_t curtime);
|
||||
void ks_hkp_reload (void);
|
||||
|
||||
void ks_hkp_init (void);
|
||||
|
||||
/*-- server.c --*/
|
||||
ldap_server_t get_ldapservers_from_ctrl (ctrl_t ctrl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue