Home GnuPG
Diffusion GnuPG a4021d9be4ae

sm: Init nPth which might be used by some helper code.

Description

sm: Init nPth which might be used by some helper code.

* sm/gpgsm.c: Include npth.h.
(main): Init nPth.

Actually we currently do not use extra threads but we need to link to
the npth version of the common functions because there is an option to
use threads. Now, without initialized npth, we could experience a
crash in gnupg_sleep, which uses npth_usleep in the npth based common
functions.

Details

Provenance
wernerAuthored on Mar 8 2021, 9:40 PM
Parents
rG33c492dcb955: w32: Cleanup use of pid_t in call-daemon
Branches
Unknown
Tags
Unknown