crypt32: Remove tests that cause memory corruption.

This commit is contained in:
Juan Lang 2007-10-19 06:45:33 -07:00 committed by Alexandre Julliard
parent 7939297ceb
commit dbefd907b6
1 changed files with 0 additions and 14 deletions

View File

@ -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);