Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c6301aec
Commit
c6301aec
authored
Feb 10, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32/tests: Don't check return values inside of if(0) (LLVM/Clang).
parent
f6364bf9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
main.c
dlls/crypt32/tests/main.c
+3
-4
No files found.
dlls/crypt32/tests/main.c
View file @
c6301aec
...
...
@@ -47,8 +47,7 @@ static void test_findAttribute(void)
if
(
0
)
{
/* crashes */
SetLastError
(
0xdeadbeef
);
ret
=
CertFindAttribute
(
NULL
,
1
,
NULL
);
CertFindAttribute
(
NULL
,
1
,
NULL
);
/* returns NULL, last error is ERROR_INVALID_PARAMETER
* crashes on Vista
*/
...
...
@@ -138,7 +137,7 @@ static void test_findRDNAttr(void)
{
/* crashes */
SetLastError
(
0xdeadbeef
);
ret
=
CertFindRDNAttr
(
NULL
,
NULL
);
CertFindRDNAttr
(
NULL
,
NULL
);
/* returns NULL, last error is ERROR_INVALID_PARAMETER
* crashes on Vista
*/
...
...
@@ -395,7 +394,7 @@ static void test_format_object(void)
/* Crash */
if
(
0
)
{
ret
=
pCryptFormatObject
(
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
0
,
NULL
,
NULL
);
pCryptFormatObject
(
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
0
,
NULL
,
NULL
);
}
/* When called with any but the default encoding, it fails to find a
* formatting function.
...
...
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