diff options
author | Werner Koch <[email protected]> | 2015-04-06 11:27:26 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-04-06 11:27:26 +0000 |
commit | 2f099eb62ac6491675bbcccaca4e076b2d8e7ea0 (patch) | |
tree | f7f1d19d81177ca4b29147680e43545cd5c889b7 /g10/options.h | |
parent | gpg: Rename a debug macro. (diff) | |
download | gnupg-2f099eb62ac6491675bbcccaca4e076b2d8e7ea0.tar.gz gnupg-2f099eb62ac6491675bbcccaca4e076b2d8e7ea0.zip |
Fix use of DBG_CACHE and DBG_LOOKUP
* dirmngr/dirmngr.h (DBG_LOOKUP_VALUE): Change to 8192.
* g10/options.h (DBG_LOOKUP_VALUE, DBG_LOOKUP): New.
* g10/getkey.c: Use DBG_LOOKUP instead of DBG_CACHE at most places.
Diffstat (limited to '')
-rw-r--r-- | g10/options.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/options.h b/g10/options.h index 217a960ee..c86ddc55a 100644 --- a/g10/options.h +++ b/g10/options.h @@ -273,13 +273,14 @@ struct { #define DBG_FILTER_VALUE 8 /* debug internal filter handling */ #define DBG_IOBUF_VALUE 16 /* debug iobuf stuff */ #define DBG_MEMORY_VALUE 32 /* debug memory allocation stuff */ -#define DBG_CACHE_VALUE 64 /* debug the cacheing */ +#define DBG_CACHE_VALUE 64 /* debug the caching */ #define DBG_MEMSTAT_VALUE 128 /* show memory statistics */ #define DBG_TRUST_VALUE 256 /* debug the trustdb */ #define DBG_HASHING_VALUE 512 /* debug hashing operations */ #define DBG_EXTPROG_VALUE 1024 /* debug external program calls */ #define DBG_CARD_IO_VALUE 2048 /* debug smart card I/O. */ #define DBG_CLOCK_VALUE 4096 +#define DBG_LOOKUP_VALUE 8192 /* debug the kety lookup */ /* Fixme: For now alias this value. */ #define DBG_ASSUAN_VALUE DBG_EXTPROG_VALUE @@ -296,6 +297,7 @@ struct { #define DBG_CARD_IO (opt.debug & DBG_CARD_IO_VALUE) #define DBG_ASSUAN (opt.debug & DBG_ASSUAN_VALUE) #define DBG_CLOCK (opt.debug & DBG_CLOCK_VALUE) +#define DBG_LOOKUP (opt.debug & DBG_LOOKUP_VALUE) /* FIXME: We need to check whey we did not put this into opt. */ #define DBG_MEMORY memory_debug_mode |