Home GnuPG
Diffusion GnuPG f2ac6742d403

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
rG6790eaf95292: agent: Add A-flag for KEYINFO output for card.
Branches
Unknown
Tags
Unknown