[PATCH 2/2] Fix some test failures on Wow64
Paul Vriens
Paul.Vriens.Wine at gmail.com
Wed Nov 18 02:10:44 CST 2009
---
dlls/rsaenh/tests/rsaenh.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/rsaenh/tests/rsaenh.c b/dlls/rsaenh/tests/rsaenh.c
index 4d57b25..bf6ed0f 100644
--- a/dlls/rsaenh/tests/rsaenh.c
+++ b/dlls/rsaenh/tests/rsaenh.c
@@ -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);
--
1.6.2.5
--------------000908060007060102010306--
More information about the wine-patches
mailing list