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
c4daa191
Commit
c4daa191
authored
Sep 26, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh: Cast-qual warnings fix.
parent
b3be5bcd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rsaenh.c
dlls/rsaenh/rsaenh.c
+3
-3
No files found.
dlls/rsaenh/rsaenh.c
View file @
c4daa191
...
...
@@ -3713,7 +3713,7 @@ HRESULT WINAPI DllRegisterServer(void)
static
const
WCHAR
szSignature
[]
=
{
'S'
,
'i'
,
'g'
,
'n'
,
'a'
,
't'
,
'u'
,
'r'
,
'e'
,
0
};
DWORD
type
=
(
i
==
3
)
?
PROV_RSA_SCHANNEL
:
PROV_RSA_FULL
;
DWORD
sign
=
0xdeadbeef
;
RegSetValueExW
(
key
,
szImagePath
,
0
,
REG_SZ
,
(
LPBYTE
)
szRSABase
,
RegSetValueExW
(
key
,
szImagePath
,
0
,
REG_SZ
,
(
const
BYTE
*
)
szRSABase
,
(
lstrlenW
(
szRSABase
)
+
1
)
*
sizeof
(
WCHAR
));
RegSetValueExW
(
key
,
szType
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
type
,
sizeof
(
type
));
RegSetValueExW
(
key
,
szSignature
,
0
,
REG_BINARY
,
(
LPBYTE
)
&
sign
,
sizeof
(
sign
));
...
...
@@ -3746,9 +3746,9 @@ HRESULT WINAPI DllRegisterServer(void)
{
'R'
,
'S'
,
'A'
,
' '
,
'S'
,
'C'
,
'h'
,
'a'
,
'n'
,
'n'
,
'e'
,
'l'
,
0
}
};
RegSetValueExW
(
key
,
szName
,
0
,
REG_SZ
,
(
LPBYTE
)
szRSAName
[
i
],
lstrlenW
(
szRSAName
[
i
])
*
sizeof
(
WCHAR
)
+
sizeof
(
WCHAR
));
(
const
BYTE
*
)
szRSAName
[
i
],
lstrlenW
(
szRSAName
[
i
])
*
sizeof
(
WCHAR
)
+
sizeof
(
WCHAR
));
RegSetValueExW
(
key
,
szTypeName
,
0
,
REG_SZ
,
(
LPBYTE
)
szRSATypeName
[
i
],
lstrlenW
(
szRSATypeName
[
i
])
*
sizeof
(
WCHAR
)
+
sizeof
(
WCHAR
));
(
const
BYTE
*
)
szRSATypeName
[
i
],
lstrlenW
(
szRSATypeName
[
i
])
*
sizeof
(
WCHAR
)
+
sizeof
(
WCHAR
));
}
}
RegCloseKey
(
key
);
...
...
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