1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

dirmngr: Silence debug diagnostics in OCSP

* dirmngr/ocsp.c (check_signature_core): Print them only in debug
mode.
This commit is contained in:
Werner Koch 2022-11-17 17:14:15 +01:00
parent 468b64dcaa
commit cce5ecece1
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -501,8 +501,11 @@ check_signature_core (ctrl_t ctrl, ksba_cert_t cert, gcry_sexp_t s_sig,
goto leave; goto leave;
} }
gcry_log_debugsxp ("sig ", s_sig); if (DBG_CRYPTO)
gcry_log_debugsxp ("hash", s_hash); {
gcry_log_debugsxp ("sig ", s_sig);
gcry_log_debugsxp ("hash", s_hash);
}
err = gcry_pk_verify (s_sig, s_hash, s_pkey); err = gcry_pk_verify (s_sig, s_hash, s_pkey);
if (err) if (err)