From dbefd907b6a2cdef74ea35e8edce8bde568a0aae Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Fri, 19 Oct 2007 06:45:33 -0700 Subject: [PATCH] crypt32: Remove tests that cause memory corruption. --- dlls/crypt32/tests/cert.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c index 879438ba945..34c313f8dec 100644 --- a/dlls/crypt32/tests/cert.c +++ b/dlls/crypt32/tests/cert.c @@ -1416,13 +1416,6 @@ static void testGetIssuerCert(void) ok(parent == cert1, "Expected cert1 to be the second issuer\n"); parent = CertGetIssuerCertificateFromStore(store, child, parent, &flags); ok(parent == NULL, "Expected no more than two issuers\n"); - /* It's possible to start enumerating from any certificate in the store */ - parent = CertGetIssuerCertificateFromStore(store, child, cert1, &flags); - ok(parent == NULL, "Expected no issuer\n"); - parent = CertGetIssuerCertificateFromStore(store, child, cert2, &flags); - ok(parent == cert1, "Expected cert1 to be the second issuer\n"); - parent = CertGetIssuerCertificateFromStore(store, child, parent, &flags); - ok(parent == NULL, "Expected no more than two issuers\n"); CertFreeCertificateContext(child); CertFreeCertificateContext(cert1); CertFreeCertificateContext(cert2); @@ -1457,13 +1450,6 @@ static void testGetIssuerCert(void) ok(parent == cert1, "Expected cert1 to be the second issuer\n"); parent = CertGetIssuerCertificateFromStore(store, child, parent, &flags); ok(parent == NULL, "Expected no more than two issuers\n"); - /* It's possible to start enumerating from any certificate in the store */ - parent = CertGetIssuerCertificateFromStore(store, child, cert1, &flags); - ok(parent == NULL, "Expected no issuer\n"); - parent = CertGetIssuerCertificateFromStore(store, child, cert2, &flags); - ok(parent == cert1, "Expected cert1 to be the second issuer\n"); - parent = CertGetIssuerCertificateFromStore(store, child, parent, &flags); - ok(parent == NULL, "Expected no more than two issuers\n"); CertFreeCertificateContext(child); CertFreeCertificateContext(cert1); CertFreeCertificateContext(cert2);