From c096472605aa264af62e8b1359b4fa2662f33a89 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Mon, 31 Mar 2008 21:59:32 +0000 Subject: [PATCH] minor changes in debug output --- src/charon/credentials/credential_manager.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/charon/credentials/credential_manager.c b/src/charon/credentials/credential_manager.c index c6c10d3..57f6cce 100644 --- a/src/charon/credentials/credential_manager.c +++ b/src/charon/credentials/credential_manager.c @@ -375,6 +375,8 @@ static bool verify_ocsp(private_credential_manager_t *this, { if (this->cache->issued_by(this->cache, subject, issuer)) { + DBG1(DBG_CFG, " ocsp response correctly signed by \"%D\"", + issuer->get_subject(issuer)); verified = TRUE; break; } @@ -403,7 +405,7 @@ static certificate_t *get_better_ocsp(private_credential_manager_t *this, /* check ocsp signature */ if (!verify_ocsp(this, response)) { - DBG1(DBG_CFG, "OCSP response verification failed"); + DBG1(DBG_CFG, "ocsp response verification failed"); cand->destroy(cand); return best; } -- 2.7.4