Home GnuPG
Diffusion GnuPG f3251023750d

Return better error code for some getinfo IPC commands.

Description

Return better error code for some getinfo IPC commands.

* agent/command.c (cmd_getinfo): Return GPG_ERR_FALSE as boolean False.
* g13/server.c (cmd_getinfo): Ditto.
* sm/server.c (cmd_getinfo): Ditto.

GPG_ERR_FALSE was introduced with libgpg-error 1.21 and we now require
a later version for gnupg 2. Thus we can switch to this more
descriptive code.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 3 2019, 4:31 PM
Parents
rG175d194b5d60: doc/wks.texi: fix typo
Branches
Unknown
Tags
Unknown