cryptnet: Trace more reasons for revocation failure.

oldstable
Juan Lang 2011-03-11 13:44:26 -08:00 committed by Alexandre Julliard
parent 0f6a6dcd2b
commit ec223a2129
1 changed files with 7 additions and 0 deletions

View File

@ -1767,12 +1767,19 @@ static DWORD verify_cert_revocation(PCCERT_CONTEXT cert, DWORD index,
}
else
{
TRACE("no CRL found\n");
error = CRYPT_E_NO_REVOCATION_CHECK;
pRevStatus->dwIndex = index;
}
}
else
{
if (!pRevPara)
WARN("no CERT_REVOCATION_PARA\n");
else if (!pRevPara->hCrlStore)
WARN("no dist points/aia extension and no CRL store\n");
else if (!pRevPara->pIssuerCert)
WARN("no dist points/aia extension and no issuer\n");
error = CRYPT_E_NO_REVOCATION_CHECK;
pRevStatus->dwIndex = index;
}