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
efa55559
Commit
efa55559
authored
May 03, 2009
by
Austin English
Committed by
Alexandre Julliard
May 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32/tests: Print a better error if no Verisign root certificates available.
parent
3f02040f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
chain.c
dlls/crypt32/tests/chain.c
+6
-4
No files found.
dlls/crypt32/tests/chain.c
View file @
efa55559
...
...
@@ -1184,9 +1184,10 @@ static void checkElementStatus(const CERT_TRUST_STATUS *expected,
ok
(
got
->
dwErrorStatus
==
expected
->
dwErrorStatus
||
broken
((
got
->
dwErrorStatus
&
~
ignore
->
dwErrorStatus
)
==
(
expected
->
dwErrorStatus
&
~
ignore
->
dwErrorStatus
)),
"Chain %d, element [%d,%d]: expected error %08x, got %08x
\n
"
,
"Chain %d, element [%d,%d]: expected error %08x, got %08x. %08x is "
"expected if no valid Verisign root certificate is available.
\n
"
,
testIndex
,
chainIndex
,
elementIndex
,
expected
->
dwErrorStatus
,
got
->
dwErrorStatus
);
got
->
dwErrorStatus
,
CERT_TRUST_IS_UNTRUSTED_ROOT
);
if
(
got
->
dwInfoStatus
==
expected
->
dwInfoStatus
)
ok
(
got
->
dwInfoStatus
==
expected
->
dwInfoStatus
,
"Chain %d, element [%d,%d]: expected info %08x, got %08x
\n
"
,
...
...
@@ -1264,9 +1265,10 @@ static void checkChainStatus(PCCERT_CHAIN_CONTEXT chain,
~
chainStatus
->
statusToIgnore
.
dwErrorStatus
)
==
(
chainStatus
->
status
.
dwErrorStatus
&
~
chainStatus
->
statusToIgnore
.
dwErrorStatus
)),
"Chain %d: expected error %08x, got %08x
\n
"
,
"Chain %d: expected error %08x, got %08x. %08x is expected if no valid "
"Verisign root certificate is available.
\n
"
,
testIndex
,
chainStatus
->
status
.
dwErrorStatus
,
chain
->
TrustStatus
.
dwErrorStatus
);
chain
->
TrustStatus
.
dwErrorStatus
,
CERT_TRUST_IS_UNTRUSTED_ROOT
);
if
(
todo
&
TODO_INFO
&&
chain
->
TrustStatus
.
dwInfoStatus
!=
chainStatus
->
status
.
dwInfoStatus
)
todo_wine
ok
(
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