crypt32: CertFindCRLInStore with find type CRL_FIND_ISSUED_FOR shouldn't check whether the CRL is valid for the subject certificate.

This commit is contained in:
Juan Lang 2009-11-19 11:50:32 -08:00 committed by Alexandre Julliard
parent f378394acd
commit 9d9070ae3c
2 changed files with 0 additions and 5 deletions

View File

@ -177,9 +177,6 @@ static BOOL compare_crl_issued_for(PCCRL_CONTEXT pCrlContext, DWORD dwType,
ret = CertCompareCertificateName(para->pIssuerCert->dwCertEncodingType,
&para->pIssuerCert->pCertInfo->Issuer, &pCrlContext->pCrlInfo->Issuer);
if (ret)
ret = CertIsValidCRLForCertificate(para->pSubjectCert, pCrlContext,
0, NULL);
return ret;
}

View File

@ -530,7 +530,6 @@ static void testFindCRL(void)
* match cert's issuer, but verisignCRL does not, so the expected count
* is 0.
*/
todo_wine {
ok(count == 3 || broken(count == 0 /* NT4, Win9x */),
"expected 3 matching CRLs, got %d\n", count);
/* Only v1CRLWithIssuerAndEntry and v2CRLWithIssuingDistPoint contain
@ -538,7 +537,6 @@ static void testFindCRL(void)
*/
ok(revoked_count == 2 || broken(revoked_count == 0 /* NT4, Win9x */),
"expected 2 matching CRL entries, got %d\n", revoked_count);
}
CertFreeCertificateContext(cert);