aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-05-25 08:29:35 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-05-25 08:29:35 +0000
commitf44dbc639bd91db6d4984d769c13a946147dfc05 (patch)
treeca207386d4b9ec998be2604a6b1ba09abbe94a49
parent13b872ebd211fc72b3174281ec95984b182396c3 (diff)
downloadstrongswan-f44dbc639bd91db6d4984d769c13a946147dfc05.tar.bz2
strongswan-f44dbc639bd91db6d4984d769c13a946147dfc05.tar.xz
DBG1 level now shows stepping up through the certifiate hierarchy up to the trust anchor
-rw-r--r--src/charon/config/credentials/local_credential_store.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/config/credentials/local_credential_store.c b/src/charon/config/credentials/local_credential_store.c
index af5a0213b..009e76f94 100644
--- a/src/charon/config/credentials/local_credential_store.c
+++ b/src/charon/config/credentials/local_credential_store.c
@@ -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;
}
}