Brendan McGrath : advapi32: Don't create a WoW6432 MachineGuid.

Alexandre Julliard julliard at winehq.org
Thu Oct 18 15:02:45 CDT 2018


Module: wine
Branch: master
Commit: c970b263c0329bcb47d0ea492b823bda7dc7c0f3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c970b263c0329bcb47d0ea492b823bda7dc7c0f3

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>

---

 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