aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ocsp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-11-25 08:21:58 +0000
committerWerner Koch <[email protected]>2022-11-25 08:26:30 +0000
commitd70779bdc60c40c895dcdcb846c10a7b9703263b (patch)
treeaf444b06d79a66fb356bcf36056bf371d5d7f06f /dirmngr/ocsp.c
parenttests: Fix to support --enable-all-tests and variants. (diff)
downloadgnupg-d70779bdc60c40c895dcdcb846c10a7b9703263b.tar.gz
gnupg-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/ocsp.c')
-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)