diff options
Diffstat (limited to 'dirmngr')
-rw-r--r-- | dirmngr/crlcache.c | 4 | ||||
-rw-r--r-- | dirmngr/ocsp.c | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/dirmngr/crlcache.c b/dirmngr/crlcache.c index f0893a64a..befc6b94b 100644 --- a/dirmngr/crlcache.c +++ b/dirmngr/crlcache.c @@ -984,8 +984,8 @@ make_db_file_name (const char *issuer_hash) /* Hash the file FNAME and return the MD5 digest in MD5BUFFER. The - caller must allocate MD%buffer wityh at least 16 bytes. Returns 0 - on success. */ + * caller must allocate MD5buffer with at least 16 bytes. Returns 0 + * on success. */ static int hash_dbfile (const char *fname, unsigned char *md5buffer) { 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) |