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
7770937a
Commit
7770937a
authored
Jan 20, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Jan 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Zero-init error array to prevent failures on 64-bit.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
34737c67
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
softpub.c
dlls/wintrust/tests/softpub.c
+2
-0
No files found.
dlls/wintrust/tests/softpub.c
View file @
7770937a
...
@@ -250,6 +250,8 @@ static void testInitialize(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID)
...
@@ -250,6 +250,8 @@ static void testInitialize(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID)
if
(
data
.
padwTrustStepErrors
)
if
(
data
.
padwTrustStepErrors
)
{
{
/* Apparently, cdwTrustStepErrors does not need to be set. */
/* Apparently, cdwTrustStepErrors does not need to be set. */
memset
(
data
.
padwTrustStepErrors
,
0
,
TRUSTERROR_MAX_STEPS
*
sizeof
(
DWORD
));
ret
=
funcs
->
pfnInitialize
(
&
data
);
ret
=
funcs
->
pfnInitialize
(
&
data
);
ok
(
ret
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
ret
);
ok
(
ret
==
S_OK
,
"Expected S_OK, got %08x
\n
"
,
ret
);
data
.
cdwTrustStepErrors
=
1
;
data
.
cdwTrustStepErrors
=
1
;
...
...
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