aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-02-23 09:20:33 +0000
committerWerner Koch <[email protected]>2023-02-23 09:21:07 +0000
commit23b4c6e7c2f715145695e8ec3141d248876d1e25 (patch)
tree2baac901d4675bfcaa74db7b6deeff940b6644a0 /dirmngr/dirmngr.c
parentgpg: Prepare to accept shorter OIDs for ed25519 and cv25519. (diff)
downloadgnupg-23b4c6e7c2f715145695e8ec3141d248876d1e25.tar.gz
gnupg-23b4c6e7c2f715145695e8ec3141d248876d1e25.zip
dirmngr: New debug flag "keeptmp".
* dirmngr/dirmngr.c (debug_flags): Add "keeptmp". (set_debug): Don't set in with "guru". * dirmngr/dirmngr.h (DBG_KEEPTMP_VALUE): New. -- Note that flag is not yet used.
Diffstat (limited to 'dirmngr/dirmngr.c')
-rw-r--r--dirmngr/dirmngr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dirmngr/dirmngr.c b/dirmngr/dirmngr.c
index cbc693bd8..650770dab 100644
--- a/dirmngr/dirmngr.c
+++ b/dirmngr/dirmngr.c
@@ -324,6 +324,7 @@ static struct debug_flags_s debug_flags [] =
{ DBG_NETWORK_VALUE, "network" },
{ DBG_LOOKUP_VALUE , "lookup" },
{ DBG_EXTPROG_VALUE, "extprog" },
+ { DBG_KEEPTMP_VALUE, "keeptmp" },
{ 77, NULL } /* 77 := Do not exit on "help" or "?". */
};
@@ -534,7 +535,7 @@ set_debug (void)
select the highest debug value and would then clutter their
disk with debug files which may reveal confidential data. */
if (numok)
- opt.debug &= ~(DBG_HASHING_VALUE);
+ opt.debug &= ~(DBG_HASHING_VALUE|DBG_KEEPTMP_VALUE);
}
else
{