aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-09-11 04:54:49 +0000
committerNIIBE Yutaka <[email protected]>2018-09-11 05:02:53 +0000
commit995aded58724a1a07704493b311be5222b3f82a2 (patch)
tree1be127faf7c5323846eda0bcbe9627d71080d65d /dirmngr/dirmngr.h
parentcommon: Use iobuf_get_noeof to avoid undefined behaviors. (diff)
downloadgnupg-995aded58724a1a07704493b311be5222b3f82a2.tar.gz
gnupg-995aded58724a1a07704493b311be5222b3f82a2.zip
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 <[email protected]>
Diffstat (limited to 'dirmngr/dirmngr.h')
-rw-r--r--dirmngr/dirmngr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/dirmngr.h b/dirmngr/dirmngr.h
index edaf46394..9c26c09e6 100644
--- a/dirmngr/dirmngr.h
+++ b/dirmngr/dirmngr.h
@@ -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);