Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8fe8d61a
Commit
8fe8d61a
authored
Nov 18, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh/tests: Fix some test failures on W2K.
parent
ca38b8b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+7
-1
No files found.
dlls/rsaenh/tests/rsaenh.c
View file @
8fe8d61a
...
...
@@ -72,9 +72,15 @@ static void uniquecontainer(char *unique)
HKEY
hkey
;
char
guid
[
MAX_PATH
];
DWORD
size
=
MAX_PATH
;
HRESULT
ret
;
/* Get the MachineGUID */
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
szCryptography
,
0
,
KEY_READ
|
KEY_WOW64_64KEY
,
&
hkey
);
ret
=
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
szCryptography
,
0
,
KEY_READ
|
KEY_WOW64_64KEY
,
&
hkey
);
if
(
ret
==
ERROR_ACCESS_DENIED
)
{
/* Windows 2000 can't handle KEY_WOW64_64KEY */
RegOpenKeyA
(
HKEY_LOCAL_MACHINE
,
szCryptography
,
&
hkey
);
}
RegQueryValueExA
(
hkey
,
szMachineGuid
,
NULL
,
NULL
,
(
LPBYTE
)
guid
,
&
size
);
RegCloseKey
(
hkey
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment