Juan Lang : crypt32/tests: Test one more certificate against the Verisign CRL.

Alexandre Julliard julliard at winehq.org
Mon Nov 23 08:49:50 CST 2009


Module: wine
Branch: master
Commit: 6bc8237c633e1153ce2a69c5ee068fe48d74c59f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6bc8237c633e1153ce2a69c5ee068fe48d74c59f

Author: Juan Lang <juan.lang at gmail.com>
Date:   Fri Nov 20 14:31:28 2009 -0800

crypt32/tests: Test one more certificate against the Verisign CRL.

---

 dlls/crypt32/tests/crl.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/dlls/crypt32/tests/crl.c b/dlls/crypt32/tests/crl.c
index 5ae6bf6..cdb327f 100644
--- a/dlls/crypt32/tests/crl.c
+++ b/dlls/crypt32/tests/crl.c
@@ -1019,7 +1019,7 @@ static void testIsValidCRLForCert(void)
 
     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,
      sizeof(verisignCRL));
     ok(crl != NULL, "CertCreateCRLContext failed: %08x\n", GetLastError());
@@ -1028,6 +1028,8 @@ static void testIsValidCRLForCert(void)
     ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
     ret = pCertIsValidCRLForCertificate(cert2, crl, 0, NULL);
     ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
+    ret = pCertIsValidCRLForCertificate(cert3, crl, 0, NULL);
+    ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
 
     CertFreeCRLContext(crl);
 
@@ -1046,6 +1048,8 @@ static void testIsValidCRLForCert(void)
     ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
     ret = pCertIsValidCRLForCertificate(cert2, crl, 0, NULL);
     ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
+    ret = pCertIsValidCRLForCertificate(cert3, crl, 0, NULL);
+    ok(ret, "CertIsValidCRLForCertificate failed: %08x\n", GetLastError());
 
     CertFreeCRLContext(crl);
 




More information about the wine-cvs mailing list