minor changes in debug output

This commit is contained in:
Andreas Steffen
2008-03-31 21:59:32 +00:00
parent aaa7643b73
commit c096472605
+3 -1
View File
@@ -375,6 +375,8 @@ static bool verify_ocsp(private_credential_manager_t *this,
{ {
if (this->cache->issued_by(this->cache, subject, issuer)) if (this->cache->issued_by(this->cache, subject, issuer))
{ {
DBG1(DBG_CFG, " ocsp response correctly signed by \"%D\"",
issuer->get_subject(issuer));
verified = TRUE; verified = TRUE;
break; break;
} }
@@ -403,7 +405,7 @@ static certificate_t *get_better_ocsp(private_credential_manager_t *this,
/* check ocsp signature */ /* check ocsp signature */
if (!verify_ocsp(this, response)) if (!verify_ocsp(this, response))
{ {
DBG1(DBG_CFG, "OCSP response verification failed"); DBG1(DBG_CFG, "ocsp response verification failed");
cand->destroy(cand); cand->destroy(cand);
return best; return best;
} }