aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-08-11 14:35:44 +0000
committerWerner Koch <[email protected]>2025-08-11 14:35:44 +0000
commit126b995f553b036a3e20e8aa38a1dab9dc471881 (patch)
treed582715084e4a2e06cdcfa7f0ae7d4becae22c1a /dirmngr/dirmngr.h
parentscd:openpgp: Support Yubikey attestion generation. (diff)
downloadgnupg-126b995f553b036a3e20e8aa38a1dab9dc471881.tar.gz
gnupg-126b995f553b036a3e20e8aa38a1dab9dc471881.zip
dirmngr: Improve LDAP debug output.
* dirmngr/dirmngr.h (DBG_LDAP_VALUE, DBG_LDAP): New value and macro. * dirmngr/dirmngr.c (debug_flags): Add "ldap". * dirmngr/ks-engine-ldap.c: Improve debug output and use the new debug flag instead of any debug value.
Diffstat (limited to 'dirmngr/dirmngr.h')
-rw-r--r--dirmngr/dirmngr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dirmngr/dirmngr.h b/dirmngr/dirmngr.h
index 5de66721b..984c60db2 100644
--- a/dirmngr/dirmngr.h
+++ b/dirmngr/dirmngr.h
@@ -179,6 +179,7 @@ struct
#define DBG_LOOKUP_VALUE 8192 /* debug lookup details */
#define DBG_EXTPROG_VALUE 16384 /* debug external program calls */
#define DBG_KEEPTMP_VALUE 32768 /* keep some temporary files */
+#define DBG_LDAP_VALUE 65536 /* debug ldap connection problems. */
#define DBG_X509 (opt.debug & DBG_X509_VALUE)
#define DBG_CRYPTO (opt.debug & DBG_CRYPTO_VALUE)
@@ -191,6 +192,7 @@ struct
#define DBG_LOOKUP (opt.debug & DBG_LOOKUP_VALUE)
#define DBG_EXTPROG (opt.debug & DBG_EXTPROG_VALUE)
#define DBG_KEEPTMP (opt.debug & DBG_KEEPTMP_VALUE)
+#define DBG_LDAP (opt.debug & DBG_LDAP_VALUE)
/* Compatibility flags */