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
765413eb
Commit
765413eb
authored
Jul 31, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Aug 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix some test failures on Win9x.
parent
b008b053
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
chain.c
dlls/crypt32/tests/chain.c
+17
-0
No files found.
dlls/crypt32/tests/chain.c
View file @
765413eb
...
...
@@ -1741,6 +1741,14 @@ static ChainPolicyCheck basicConstraintsPolicyCheck[] = {
{
0
,
0
,
-
1
,
-
1
,
NULL
},
0
},
};
static
const
char
*
num_to_str
(
WORD
num
)
{
static
char
buf
[
6
];
sprintf
(
buf
,
"#%04X"
,
num
);
return
buf
;
}
static
void
checkChainPolicyStatus
(
LPCSTR
policy
,
ChainPolicyCheck
*
check
,
DWORD
testIndex
)
{
...
...
@@ -1757,8 +1765,17 @@ static void checkChainPolicyStatus(LPCSTR policy, ChainPolicyCheck *check,
todo_wine
ok
(
ret
,
"%d: CertVerifyCertificateChainPolicy failed: %08x
\n
"
,
testIndex
,
GetLastError
());
else
{
if
(
!
ret
&&
GetLastError
()
==
ERROR_FILE_NOT_FOUND
)
{
skip
(
"%d: missing policy %s, skipping test
\n
"
,
testIndex
,
HIWORD
(
policy
)
?
policy
:
num_to_str
(
LOWORD
(
policy
)));
pCertFreeCertificateChain
(
chain
);
return
;
}
ok
(
ret
,
"%d: CertVerifyCertificateChainPolicy failed: %08x
\n
"
,
testIndex
,
GetLastError
());
}
if
(
ret
)
{
if
(
check
->
todo
&
TODO_ERROR
)
...
...
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