mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:30:58 +00:00
ntoskrnl.exe/tests: Don't call CertFreeCertificateContext on cleanup.
It seems to crash the test on w864. Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
43e67ebddc
commit
2191c0f4b5
|
@ -235,15 +235,11 @@ static void testsign_cleanup(struct testsign_context *ctx)
|
|||
|
||||
ret = CertDeleteCertificateFromStore(ctx->root_cert);
|
||||
ok(ret, "Failed to remove certificate, error %u\n", GetLastError());
|
||||
ret = CertFreeCertificateContext(ctx->root_cert);
|
||||
ok(ret, "Failed to free certificate, error %u\n", GetLastError());
|
||||
ret = CertCloseStore(ctx->root_store, CERT_CLOSE_STORE_CHECK_FLAG);
|
||||
ok(ret, "Failed to close store, error %u\n", GetLastError());
|
||||
|
||||
ret = CertDeleteCertificateFromStore(ctx->publisher_cert);
|
||||
ok(ret, "Failed to remove certificate, error %u\n", GetLastError());
|
||||
ret = CertFreeCertificateContext(ctx->publisher_cert);
|
||||
ok(ret, "Failed to free certificate, error %u\n", GetLastError());
|
||||
ret = CertCloseStore(ctx->publisher_store, CERT_CLOSE_STORE_CHECK_FLAG);
|
||||
ok(ret, "Failed to close store, error %u\n", GetLastError());
|
||||
|
||||
|
|
Loading…
Reference in a new issue