Home GnuPG
Diffusion GnuPG 6e041b7b356c

sm: Add a couple of debug calls to the keydb module.

Description

sm: Add a couple of debug calls to the keydb module.

* sm/gpgsm.h (DBG_CLOCK_VALUE, DBG_CLOCK): New.
(DBG_LOOKUP_VALUE, DBG_LOOKUP): New.
* sm/gpgsm.c: new debug flags "lookup" and "clock"
* sm/keydb.c: Add log_clock calls to most functions.
(keydb_search_desc_dump): New.
(keydb_search) [DBG_LOOKUP]: Print descrh decription.
* sm/keylist.c (list_cert_std): Flush FP in debug mode to better
syncronize the output with the debug output
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 14 2019, 8:03 PM
Parents
rG62c29af63203: scd: Fix return value for KEYINFO command.
Branches
Unknown
Tags
Unknown