dirmngr: Add new debug flag "extprog"
authorWerner Koch <wk@gnupg.org>
Thu, 23 Feb 2017 19:14:16 +0000 (20:14 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 23 Feb 2017 19:14:16 +0000 (20:14 +0100)
commit22b69b9edfdf6e6172239cbd1075ffe29077d339
tree65dc116408aecb6965f70dc79fba216b16e5ab46
parentd30e17ac62dea8913b7f353971d546b6b1a09bd5
dirmngr: Add new debug flag "extprog"

* dirmngr/dirmngr.h (DBG_EXTPROG_VALUE, DBG_EXTPROG): New macros.
* dirmngr/dirmngr.c (debug_flags): Add flag "extprog".
(handle_connections): Use a macro instead of -1 for an invalid socket.
* dirmngr/loadswdb.c (verify_status_cb): Debug the gpgv call.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/dirmngr.c
dirmngr/dirmngr.h
dirmngr/http.c
dirmngr/loadswdb.c