crypt32: Remove tests that cause memory corruption.
This commit is contained in:
parent
7939297ceb
commit
dbefd907b6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue