Brendan McGrath : advapi32: Don't create a WoW6432 MachineGuid.
Alexandre Julliard
julliard at winehq.org
Sun Mar 3 13:21:29 CST 2019
Module: wine
Branch: oldstable
Commit: 36a15c9b1fe376b8e8e1367859b27f58ab63b594
URL: https://source.winehq.org/git/wine.git/?a=commit;h=36a15c9b1fe376b8e8e1367859b27f58ab63b594
Author: Brendan McGrath <brendan at redmandi.com>
Date: Wed Oct 17 21:01:02 2018 +1100
advapi32: Don't create a WoW6432 MachineGuid.
Signed-off-by: Brendan McGrath <brendan at redmandi.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit c970b263c0329bcb47d0ea492b823bda7dc7c0f3)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/advapi32/crypt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/advapi32/crypt.c b/dlls/advapi32/crypt.c
index 01d5880..ab1e598 100644
--- a/dlls/advapi32/crypt.c
+++ b/dlls/advapi32/crypt.c
@@ -281,7 +281,7 @@ static void CRYPT_CreateMachineGuid(void)
LONG r;
HKEY key;
- r = RegOpenKeyExW(HKEY_LOCAL_MACHINE, cryptographyW, 0, KEY_ALL_ACCESS,
+ r = RegOpenKeyExW(HKEY_LOCAL_MACHINE, cryptographyW, 0, KEY_ALL_ACCESS | KEY_WOW64_64KEY,
&key);
if (!r)
{
More information about the wine-cvs
mailing list