Commit 43204a0d authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

dssenh/tests: The default container may already exist.

parent eb3ceac1
...@@ -86,10 +86,13 @@ static void test_acquire_context(void) ...@@ -86,10 +86,13 @@ static void test_acquire_context(void)
result = CryptAcquireContextA( result = CryptAcquireContextA(
&hProv, NULL, MS_DEF_DSS_DH_PROV_A, PROV_DSS_DH, CRYPT_NEWKEYSET); &hProv, NULL, MS_DEF_DSS_DH_PROV_A, PROV_DSS_DH, CRYPT_NEWKEYSET);
ok(result, "Expected no errors.\n"); ok(result || GetLastError() == NTE_EXISTS, "Expected no errors or NTE_EXISTS\n");
result = CryptReleaseContext(hProv, 0); if (result)
ok(result, "Expected release of the provider.\n"); {
result = CryptReleaseContext(hProv, 0);
ok(result, "Expected release of the provider.\n");
}
result = CryptAcquireContextA(&hProv, NULL, NULL, PROV_DSS, 0); result = CryptAcquireContextA(&hProv, NULL, NULL, PROV_DSS, 0);
ok(result, "Expected no errors.\n"); ok(result, "Expected no errors.\n");
......
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