minor changes in debug output
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 31 Mar 2008 21:59:32 +0000 (21:59 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 31 Mar 2008 21:59:32 +0000 (21:59 -0000)
src/charon/credentials/credential_manager.c

index c6c10d3..57f6cce 100644 (file)
@@ -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;
        }