Home GnuPG
Diffusion GnuPG adce73b86fd4

agent: Fix error code check from npth_mutex_init.

Description

agent: Fix error code check from npth_mutex_init.

* agent/call-pinentry.c (initialize_module_call_pinentry): It's an
error when npth_mutex_init returns non-zero.

Actually, initialize_module_call_pinentry is only called once from
main. So, this bug had no harm and having the static variable
INITIALIZED is not needed.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Sep 10 2018, 2:16 AM
Parents
rGbee65edfbc8c: dirmngr: Emit SOURCE status also on NO_DATA.
Branches
Unknown
Tags
Unknown