summaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-12-19 09:41:15 +0100
committerWerner Koch <wk@gnupg.org>2016-12-19 09:41:15 +0100
commite384405b6e251629fb36bcbba4f5f9ac15a39d10 (patch)
tree82aac695f65b9ded4edcb040c41fc65cb5837acc /scd/scdaemon.h
parentdirmngr: Fix setup of libdns for W32. (diff)
downloadgnupg2-e384405b6e251629fb36bcbba4f5f9ac15a39d10.tar.xz
gnupg2-e384405b6e251629fb36bcbba4f5f9ac15a39d10.zip
Remove unused debug flags and add "dns" and "network".
* g10/options.h (DBG_CARD_IO_VALUE, DBG_CARD_IO): Remove. * g10/gpg.c (debug_flags): Remove "cardio". * agent/agent.h (DBG_COMMAND_VALUE, DBG_COMMAND): Remove. * agent/gpg-agent.c (debug_flags): Remove "command". * scd/scdaemon.h (DBG_COMMAND_VALUE, DBG_COMMAND): Remove. * scd/scdaemon.c (debug_flags): Remove "command". * dirmngr/dirmngr.h (DBG_DNS_VALUE, DBG_DNS): New. (DBG_NETWORK_VALUE, DNG_NETWORK): New. * dirmngr/dirmngr.c (debug_flags): Add "dns" and "network". -- Note that "dns" and "network" are not yet used but will soon be added to dirmngr. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r--scd/scdaemon.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h
index 31e9c791c..38aa4905b 100644
--- a/scd/scdaemon.h
+++ b/scd/scdaemon.h
@@ -65,7 +65,6 @@ struct
} opt;
-#define DBG_COMMAND_VALUE 1 /* debug commands i/o */
#define DBG_MPI_VALUE 2 /* debug mpi details */
#define DBG_CRYPTO_VALUE 4 /* debug low level crypto */
#define DBG_MEMORY_VALUE 32 /* debug memory allocation stuff */
@@ -76,7 +75,6 @@ struct
#define DBG_CARD_IO_VALUE 2048
#define DBG_READER_VALUE 4096 /* Trace reader related functions. */
-#define DBG_COMMAND (opt.debug & DBG_COMMAND_VALUE)
#define DBG_CRYPTO (opt.debug & DBG_CRYPTO_VALUE)
#define DBG_MEMORY (opt.debug & DBG_MEMORY_VALUE)
#define DBG_CACHE (opt.debug & DBG_CACHE_VALUE)