Commit ec223a21 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

cryptnet: Trace more reasons for revocation failure.

parent 0f6a6dcd
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment