Module: wine
Branch: master
Commit: dbefd907b6a2cdef74ea35e8edce8bde568a0aae
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dbefd907b6a2cdef74ea35e8e…
Author: Juan Lang <juan.lang(a)gmail.com>
Date: Fri Oct 19 06:45:33 2007 -0700
crypt32: Remove tests that cause memory corruption.
---
dlls/crypt32/tests/cert.c | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c
index 879438b..34c313f 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);