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
c83ff712
Commit
c83ff712
authored
Oct 31, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Nov 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix test failures on older versions of Windows.
parent
b11dd542
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
chain.c
dlls/crypt32/tests/chain.c
+10
-2
No files found.
dlls/crypt32/tests/chain.c
View file @
c83ff712
...
...
@@ -1824,15 +1824,23 @@ static void checkChainPolicyStatus(LPCSTR policy, const ChainPolicyCheck *check,
if
(
ret
)
{
if
(
check
->
todo
&
TODO_ERROR
)
todo_wine
ok
(
policyStatus
.
dwError
==
check
->
status
.
dwError
,
todo_wine
ok
(
policyStatus
.
dwError
==
check
->
status
.
dwError
||
broken
(
policyStatus
.
dwError
==
CERT_TRUST_NO_ERROR
),
"%s[%d]: expected %08x, got %08x
\n
"
,
HIWORD
(
policy
)
?
policy
:
num_to_str
(
LOWORD
(
policy
)),
testIndex
,
check
->
status
.
dwError
,
policyStatus
.
dwError
);
else
ok
(
policyStatus
.
dwError
==
check
->
status
.
dwError
,
ok
(
policyStatus
.
dwError
==
check
->
status
.
dwError
||
broken
(
policyStatus
.
dwError
==
CERT_TRUST_NO_ERROR
),
"%s[%d]: expected %08x, got %08x
\n
"
,
HIWORD
(
policy
)
?
policy
:
num_to_str
(
LOWORD
(
policy
)),
testIndex
,
check
->
status
.
dwError
,
policyStatus
.
dwError
);
if
(
policyStatus
.
dwError
!=
check
->
status
.
dwError
)
{
skip
(
"error doesn't match, not checking indexes
\n
"
);
pCertFreeCertificateChain
(
chain
);
return
;
}
if
(
check
->
todo
&
TODO_CHAINS
)
todo_wine
ok
(
policyStatus
.
lChainIndex
==
check
->
status
.
lChainIndex
,
"%s[%d]: expected %d, got %d
\n
"
,
...
...
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