additional debug line makes certificate status checking more understandable
This commit is contained in:
@@ -692,7 +692,7 @@ static cert_validation_t check_crl(private_credential_manager_t *this,
|
||||
best = get_better_crl(this, current, best, subject, issuer, &valid);
|
||||
if (best && valid != VALIDATION_STALE)
|
||||
{
|
||||
DBG1(DBG_CFG, "found cached crl");
|
||||
DBG1(DBG_CFG, " using cached crl");
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -777,6 +777,11 @@ static bool check_certificate(private_credential_manager_t *this,
|
||||
if (issuer->get_type(issuer) == CERT_X509 &&
|
||||
subject->get_type(subject) == CERT_X509)
|
||||
{
|
||||
if (ocsp || crl)
|
||||
{
|
||||
DBG1(DBG_CFG, "checking certificate status of \"%D\"",
|
||||
subject->get_subject(subject));
|
||||
}
|
||||
if (ocsp)
|
||||
{
|
||||
switch (check_ocsp(this, (x509_t*)subject, (x509_t*)issuer, auth))
|
||||
|
||||
Reference in New Issue
Block a user