Home GnuPG
Diffusion GnuPG 995aded58724

dirmngr: Serialize access to hosttable.

Description

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>

Details

Provenance
gniibeAuthored on Sep 11 2018, 6:54 AM
Parents
rGf80346f42df4: common: Use iobuf_get_noeof to avoid undefined behaviors.
Branches
Unknown
Tags
Unknown