summaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2022-11-25 09:21:58 +0100
committerWerner Koch <wk@gnupg.org>2022-11-25 09:26:30 +0100
commitd70779bdc60c40c895dcdcb846c10a7b9703263b (patch)
treeaf444b06d79a66fb356bcf36056bf371d5d7f06f /dirmngr
parenttests: Fix to support --enable-all-tests and variants. (diff)
downloadgnupg2-d70779bdc60c40c895dcdcb846c10a7b9703263b.tar.xz
gnupg2-d70779bdc60c40c895dcdcb846c10a7b9703263b.zip
dirmngr: Silence ocsp debug output.
* dirmngr/ocsp.c (check_signature_core): No debug output -- Also typo and doc fixes.
Diffstat (limited to 'dirmngr')
-rw-r--r--dirmngr/ocsp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/dirmngr/ocsp.c b/dirmngr/ocsp.c
index 0da96ba15..7267d623e 100644
--- a/dirmngr/ocsp.c
+++ b/dirmngr/ocsp.c
@@ -504,8 +504,11 @@ check_signature_core (ctrl_t ctrl, ksba_cert_t cert, gcry_sexp_t s_sig,
goto leave;
}
- gcry_log_debugsxp ("sig ", s_sig);
- gcry_log_debugsxp ("hash", s_hash);
+ if (DBG_CRYPTO)
+ {
+ gcry_log_debugsxp ("sig ", s_sig);
+ gcry_log_debugsxp ("hash", s_hash);
+ }
err = gcry_pk_verify (s_sig, s_hash, s_pkey);
if (err)