diff options
author | Werner Koch <[email protected]> | 2016-10-07 05:54:38 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-10-07 05:54:38 +0000 |
commit | 5d43d28aa3c44c3a27fde823f467b0c4be1a58c2 (patch) | |
tree | ac9b72878c427c77de2058c3ffbf230aaf7a910d /g10/options.h | |
parent | agent, dirmngr, scd: Fix init_common_subsystems. (diff) | |
download | gnupg-5d43d28aa3c44c3a27fde823f467b0c4be1a58c2.tar.gz gnupg-5d43d28aa3c44c3a27fde823f467b0c4be1a58c2.zip |
gpg: Put extra parens around bit tests.
* g10/options.h (DBG_MPI): New.
* g10/gpg.c (set_debug): Use macro or extra parens for binary operator.
* g10/parse-packet.c (set_packet_list_mode): Use dbg macro.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | g10/options.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/options.h b/g10/options.h index 544be60ab..43dfd997f 100644 --- a/g10/options.h +++ b/g10/options.h @@ -305,6 +305,7 @@ struct { /* Tests for the debugging flags. */ #define DBG_PACKET (opt.debug & DBG_PACKET_VALUE) +#define DBG_MPI (opt.debug & DBG_MPI_VALUE) #define DBG_CRYPTO (opt.debug & DBG_CRYPTO_VALUE) #define DBG_FILTER (opt.debug & DBG_FILTER_VALUE) #define DBG_CACHE (opt.debug & DBG_CACHE_VALUE) @@ -317,7 +318,7 @@ struct { #define DBG_LOOKUP (opt.debug & DBG_LOOKUP_VALUE) #define DBG_EXTPROG (opt.debug & DBG_EXTPROG_VALUE) -/* FIXME: We need to check whey we did not put this into opt. */ +/* FIXME: We need to check why we did not put this into opt. */ #define DBG_MEMORY memory_debug_mode #define DBG_MEMSTAT memory_stat_debug_mode |