diff options
author | Werner Koch <[email protected]> | 2025-04-30 13:02:00 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-04-30 13:06:40 +0000 |
commit | a9445bbb1d979e059cf71b38b7fa88ff3d89e916 (patch) | |
tree | 16442d5542a23d58e43f15474870b0e90dc01464 /g10/options.h | |
parent | doc: Register DCO for Collin Funk (diff) | |
download | gnupg-a9445bbb1d979e059cf71b38b7fa88ff3d89e916.tar.gz gnupg-a9445bbb1d979e059cf71b38b7fa88ff3d89e916.zip |
gpg: Add debug flag "recsel".
* g10/gpg.c: Include recsel.h.
(debug_flags): New flag "recsel".
(set_debug): Set it.
* g10/options.h (DBG_RECSEL_VALUE, DBG_RECSEL): New.
* g10/import.c (impex_filter_getval): Add debug diagnostics.
* g10/keylist.c (parse_and_set_list_filter): Dump the record filter.
* common/recsel.c (recsel_debug): New variable.
(recsel_set_debug): New function.
(recsel_select): Add debug output if requested.
Diffstat (limited to 'g10/options.h')
-rw-r--r-- | g10/options.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h index c877404a7..59a3cab73 100644 --- a/g10/options.h +++ b/g10/options.h @@ -368,6 +368,7 @@ struct { #define DBG_TRUST_VALUE 256 /* debug the trustdb */ #define DBG_HASHING_VALUE 512 /* debug hashing operations */ #define DBG_IPC_VALUE 1024 /* debug assuan communication */ +#define DBG_RECSEL_VALUE 2048 /* Debug the record selection */ #define DBG_CLOCK_VALUE 4096 #define DBG_LOOKUP_VALUE 8192 /* debug the key lookup */ #define DBG_EXTPROG_VALUE 16384 /* debug external program calls */ @@ -382,6 +383,7 @@ struct { #define DBG_TRUST (opt.debug & DBG_TRUST_VALUE) #define DBG_HASHING (opt.debug & DBG_HASHING_VALUE) #define DBG_IPC (opt.debug & DBG_IPC_VALUE) +#define DBG_RECSEL (opt.debug & DBG_RECSEL_VALUE) #define DBG_CLOCK (opt.debug & DBG_CLOCK_VALUE) #define DBG_LOOKUP (opt.debug & DBG_LOOKUP_VALUE) #define DBG_EXTPROG (opt.debug & DBG_EXTPROG_VALUE) |