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
0c34b472
Commit
0c34b472
authored
Feb 15, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msisip: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
095fc3de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
dlls/msisip/Makefile.in
+0
-1
main.c
dlls/msisip/main.c
+2
-2
No files found.
dlls/msisip/Makefile.in
View file @
0c34b472
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
msisip.dll
IMPORTS
=
crypt32 ole32
...
...
dlls/msisip/main.c
View file @
0c34b472
...
...
@@ -83,7 +83,7 @@ BOOL WINAPI MsiSIPGetSignedDataMsg(SIP_SUBJECTINFO *pSubjectInfo,
BYTE
hdr
[
2
],
len
[
sizeof
(
DWORD
)];
DWORD
count
,
lenBytes
,
dataBytes
;
TRACE
(
"(%p %p %d %p %p)
\n
"
,
pSubjectInfo
,
pdwEncodingType
,
dwIndex
,
TRACE
(
"(%p %p %
l
d %p %p)
\n
"
,
pSubjectInfo
,
pdwEncodingType
,
dwIndex
,
pcbSignedDataMsg
,
pbSignedDataMsg
);
r
=
StgOpenStorage
(
pSubjectInfo
->
pwsFileName
,
NULL
,
...
...
@@ -127,7 +127,7 @@ BOOL WINAPI MsiSIPGetSignedDataMsg(SIP_SUBJECTINFO *pSubjectInfo,
lenBytes
=
hdr
[
1
]
&
0x7f
;
if
(
lenBytes
>
sizeof
(
DWORD
))
{
WARN
(
"asn.1 length too long (%d)
\n
"
,
lenBytes
);
WARN
(
"asn.1 length too long (%
l
d)
\n
"
,
lenBytes
);
goto
freestream
;
}
r
=
IStream_Read
(
stm
,
len
,
lenBytes
,
&
count
);
...
...
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