diff options
author | Werner Koch <[email protected]> | 2022-11-25 08:21:58 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2022-11-25 08:26:30 +0000 |
commit | d70779bdc60c40c895dcdcb846c10a7b9703263b (patch) | |
tree | af444b06d79a66fb356bcf36056bf371d5d7f06f /dirmngr/ocsp.c | |
parent | tests: Fix to support --enable-all-tests and variants. (diff) | |
download | gnupg-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.c | 7 |
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) |