Commit dbefd907 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Remove tests that cause memory corruption.

parent 7939297c
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment