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
7cc615e6
Commit
7cc615e6
authored
Feb 09, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Feb 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix a few more test failures on older versions of Windows.
parent
8cb17012
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
chain.c
dlls/crypt32/tests/chain.c
+15
-6
No files found.
dlls/crypt32/tests/chain.c
View file @
7cc615e6
...
...
@@ -1176,7 +1176,7 @@ static void checkElementStatus(const CERT_TRUST_STATUS *expected,
todo_wine
ok
(
got
->
dwErrorStatus
==
expected
->
dwErrorStatus
||
broken
((
got
->
dwErrorStatus
&
~
ignore
->
dwErrorStatus
)
==
expected
->
dwErrorStatus
),
(
expected
->
dwErrorStatus
&
~
ignore
->
dwErrorStatus
)
),
"Chain %d, element [%d,%d]: expected error %08x, got %08x
\n
"
,
testIndex
,
chainIndex
,
elementIndex
,
expected
->
dwErrorStatus
,
got
->
dwErrorStatus
);
...
...
@@ -1196,14 +1196,14 @@ static void checkElementStatus(const CERT_TRUST_STATUS *expected,
todo_wine
ok
(
got
->
dwInfoStatus
==
expected
->
dwInfoStatus
||
broken
((
got
->
dwInfoStatus
&
~
ignore
->
dwInfoStatus
)
==
expected
->
dwInfoStatus
),
(
expected
->
dwInfoStatus
&
ignore
->
dwInfoStatus
)
),
"Chain %d, element [%d,%d]: expected info %08x, got %08x
\n
"
,
testIndex
,
chainIndex
,
elementIndex
,
expected
->
dwInfoStatus
,
got
->
dwInfoStatus
);
else
ok
(
got
->
dwInfoStatus
==
expected
->
dwInfoStatus
||
broken
((
got
->
dwInfoStatus
&
~
ignore
->
dwInfoStatus
)
==
expected
->
dwInfoStatus
),
(
expected
->
dwInfoStatus
&
~
ignore
->
dwInfoStatus
)
),
"Chain %d, element [%d,%d]: expected info %08x, got %08x
\n
"
,
testIndex
,
chainIndex
,
elementIndex
,
expected
->
dwInfoStatus
,
got
->
dwInfoStatus
);
...
...
@@ -1249,7 +1249,11 @@ static void checkChainStatus(PCCERT_CHAIN_CONTEXT chain,
if
(
todo
&
TODO_ERROR
&&
chain
->
TrustStatus
.
dwErrorStatus
!=
chainStatus
->
status
.
dwErrorStatus
)
todo_wine
ok
(
chain
->
TrustStatus
.
dwErrorStatus
==
chainStatus
->
status
.
dwErrorStatus
,
chainStatus
->
status
.
dwErrorStatus
||
broken
((
chain
->
TrustStatus
.
dwErrorStatus
&
~
chainStatus
->
statusToIgnore
.
dwErrorStatus
)
==
(
chainStatus
->
status
.
dwErrorStatus
&
~
chainStatus
->
statusToIgnore
.
dwErrorStatus
)),
"Chain %d: expected error %08x, got %08x
\n
"
,
testIndex
,
chainStatus
->
status
.
dwErrorStatus
,
chain
->
TrustStatus
.
dwErrorStatus
);
...
...
@@ -1266,7 +1270,11 @@ static void checkChainStatus(PCCERT_CHAIN_CONTEXT chain,
if
(
todo
&
TODO_INFO
&&
chain
->
TrustStatus
.
dwInfoStatus
!=
chainStatus
->
status
.
dwInfoStatus
)
todo_wine
ok
(
chain
->
TrustStatus
.
dwInfoStatus
==
chainStatus
->
status
.
dwInfoStatus
,
chainStatus
->
status
.
dwInfoStatus
||
broken
((
chain
->
TrustStatus
.
dwInfoStatus
&
~
chainStatus
->
statusToIgnore
.
dwInfoStatus
)
==
(
chainStatus
->
status
.
dwInfoStatus
&
~
chainStatus
->
statusToIgnore
.
dwInfoStatus
)),
"Chain %d: expected info %08x, got %08x
\n
"
,
testIndex
,
chainStatus
->
status
.
dwInfoStatus
,
chain
->
TrustStatus
.
dwInfoStatus
);
...
...
@@ -1275,7 +1283,8 @@ static void checkChainStatus(PCCERT_CHAIN_CONTEXT chain,
chainStatus
->
status
.
dwInfoStatus
||
broken
((
chain
->
TrustStatus
.
dwInfoStatus
&
~
chainStatus
->
statusToIgnore
.
dwInfoStatus
)
==
chainStatus
->
status
.
dwInfoStatus
),
(
chainStatus
->
status
.
dwInfoStatus
&
~
chainStatus
->
statusToIgnore
.
dwInfoStatus
)),
"Chain %d: expected info %08x, got %08x
\n
"
,
testIndex
,
chainStatus
->
status
.
dwInfoStatus
,
chain
->
TrustStatus
.
dwInfoStatus
);
...
...
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