From 5d43d28aa3c44c3a27fde823f467b0c4be1a58c2 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 7 Oct 2016 07:54:38 +0200 Subject: 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 --- g10/options.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'g10/options.h') 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 -- cgit v1.2.3