DBG1 level now shows stepping up through the certifiate hierarchy up to the trust...
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 25 May 2007 08:29:35 +0000 (08:29 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 25 May 2007 08:29:35 +0000 (08:29 -0000)
src/charon/config/credentials/local_credential_store.c

index af5a021..009e76f 100644 (file)
@@ -522,14 +522,14 @@ static bool is_trusted(private_local_credential_store_t *this, x509_t *cert)
                /* check if cert is a self-signed root ca */
                if (pathlen > 0 && cert->is_self_signed(cert))
                {
-                       DBG2(DBG_CFG, "reached self-signed root ca");
+                       DBG1(DBG_CFG, "reached self-signed root ca");
                        cert_to_be_trusted->set_until(cert_to_be_trusted, until);
                        cert_to_be_trusted->set_status(cert_to_be_trusted, CERT_GOOD);
                        return TRUE;
                }
                else
                {
-                       /* go up one step in the trust chain */
+                       DBG1(DBG_CFG, "going up one step in the certificate trust chain");
                        cert = issuer_cert;
                }
        }