crypt32/tests: Test one more certificate against the Verisign CRL.
This commit is contained in:
parent
22206b909a
commit
6bc8237c63
@ -1019,7 +1019,7 @@ static void testIsValidCRLForCert(void)
|
|||||||
|
|
||||||
CertFreeCRLContext(crl);
|
CertFreeCRLContext(crl);
|
||||||
|
|
||||||
/* And again, with a real CRL, the CRL is valid for both certs. */
|
/* And again, with a real CRL, the CRL is valid for all three certs. */
|
||||||
crl = CertCreateCRLContext(X509_ASN_ENCODING, verisignCRL,
|
crl = CertCreateCRLContext(X509_ASN_ENCODING, verisignCRL,
|
||||||
sizeof(verisignCRL));
|
sizeof(verisignCRL));
|
||||||
ok(crl != NULL, "CertCreateCRLContext failed: %08x\n", GetLastError());
|
ok(crl != NULL, "CertCreateCRLContext failed: %08x\n", GetLastError());
|
||||||
@ -1028,6 +1028,8 @@ static void testIsValidCRLForCert(void)
|
|||||||
ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
|
ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
|
||||||
ret = pCertIsValidCRLForCertificate(cert2, crl, 0, NULL);
|
ret = pCertIsValidCRLForCertificate(cert2, crl, 0, NULL);
|
||||||
ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
|
ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
|
||||||
|
ret = pCertIsValidCRLForCertificate(cert3, crl, 0, NULL);
|
||||||
|
ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
|
||||||
|
|
||||||
CertFreeCRLContext(crl);
|
CertFreeCRLContext(crl);
|
||||||
|
|
||||||
@ -1046,6 +1048,8 @@ static void testIsValidCRLForCert(void)
|
|||||||
ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
|
ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
|
||||||
ret = pCertIsValidCRLForCertificate(cert2, crl, 0, NULL);
|
ret = pCertIsValidCRLForCertificate(cert2, crl, 0, NULL);
|
||||||
ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
|
ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
|
||||||
|
ret = pCertIsValidCRLForCertificate(cert3, crl, 0, NULL);
|
||||||
|
ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
|
||||||
|
|
||||||
CertFreeCRLContext(crl);
|
CertFreeCRLContext(crl);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user