Commit bbb3990c authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

cryptnet: Fail CRL verification if there's no issuer certificate.

parent c57eda24
......@@ -1690,6 +1690,12 @@ static DWORD verify_cert_revocation_from_dist_points_ext(const CRYPT_DATA_BLOB *
const CRL_CONTEXT *crl;
DWORD timeout = 0;
if (!params || !params->pIssuerCert)
{
TRACE("no issuer certificate\n");
return CRYPT_E_REVOCATION_OFFLINE;
}
if (!CRYPT_GetUrlFromCRLDistPointsExt(value, NULL, &url_array_size, NULL, NULL))
return GetLastError();
......
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