Commit 3323ae9d authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

rsaenh/tests: Fix some test failures on Wow64.

parent 55f3c576
......@@ -74,7 +74,7 @@ static void uniquecontainer(char *unique)
DWORD size = MAX_PATH;
/* Get the MachineGUID */
RegOpenKeyA(HKEY_LOCAL_MACHINE, szCryptography, &hkey);
RegOpenKeyExA(HKEY_LOCAL_MACHINE, szCryptography, 0, KEY_READ | KEY_WOW64_64KEY, &hkey);
RegQueryValueExA(hkey, szMachineGuid, NULL, NULL, (LPBYTE)guid, &size);
RegCloseKey(hkey);
......
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