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
7c42297b
Commit
7c42297b
authored
Feb 16, 2011
by
Juan Lang
Committed by
Alexandre Julliard
Feb 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Fix a leak (valgrind).
parent
04f74d7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
softpub.c
dlls/wintrust/tests/softpub.c
+8
-1
No files found.
dlls/wintrust/tests/softpub.c
View file @
7c42297b
...
...
@@ -734,9 +734,16 @@ static void test_wintrust(void)
r
=
WinVerifyTrust
(
INVALID_HANDLE_VALUE
,
&
generic_action_v2
,
&
wtd
);
ok
(
r
==
TRUST_E_NOSIGNATURE
||
r
==
CRYPT_E_FILE_ERROR
,
"expected TRUST_E_NOSIGNATURE or CRYPT_E_FILE_ERROR, got %08x
\n
"
,
r
);
wtd
.
dwStateAction
=
WTD_STATEACTION_CLOSE
;
r
=
WinVerifyTrust
(
INVALID_HANDLE_VALUE
,
&
generic_action_v2
,
&
wtd
);
ok
(
r
==
S_OK
,
"WinVerifyTrust failed: %08x
\n
"
,
r
);
wtd
.
dwStateAction
=
WTD_STATEACTION_VERIFY
;
hr
=
WinVerifyTrustEx
(
INVALID_HANDLE_VALUE
,
&
generic_action_v2
,
&
wtd
);
ok
(
hr
==
TRUST_E_NOSIGNATURE
||
r
==
CRYPT_E_FILE_ERROR
,
ok
(
hr
==
TRUST_E_NOSIGNATURE
||
h
r
==
CRYPT_E_FILE_ERROR
,
"expected TRUST_E_NOSIGNATURE or CRYPT_E_FILE_ERROR, got %08x
\n
"
,
hr
);
wtd
.
dwStateAction
=
WTD_STATEACTION_CLOSE
;
r
=
WinVerifyTrust
(
INVALID_HANDLE_VALUE
,
&
generic_action_v2
,
&
wtd
);
ok
(
r
==
S_OK
,
"WinVerifyTrust failed: %08x
\n
"
,
r
);
}
static
void
test_get_known_usages
(
void
)
...
...
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