Commit 705de5d3 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

advapi32/tests: Remove a stray reference to CryptReleaseContext(). This gets the…

advapi32/tests: Remove a stray reference to CryptReleaseContext(). This gets the test to run again on Win95.
parent 315bf2fa
...@@ -903,7 +903,7 @@ static void test_machine_guid(void) ...@@ -903,7 +903,7 @@ static void test_machine_guid(void)
/* Create and release a provider */ /* Create and release a provider */
ret = pCryptAcquireContextA(&hCryptProv, szKeySet, NULL, PROV_RSA_FULL, 0); ret = pCryptAcquireContextA(&hCryptProv, szKeySet, NULL, PROV_RSA_FULL, 0);
ok(ret, "CryptAcquireContextA failed: %08x\n", GetLastError()); ok(ret, "CryptAcquireContextA failed: %08x\n", GetLastError());
CryptReleaseContext(hCryptProv, 0); pCryptReleaseContext(hCryptProv, 0);
if (restoreGuid) if (restoreGuid)
RegSetValueExA(key, "MachineGuid", 0, REG_SZ, (const BYTE *)originalGuid, RegSetValueExA(key, "MachineGuid", 0, REG_SZ, (const BYTE *)originalGuid,
......
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