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
ba3433fa
Commit
ba3433fa
authored
Nov 11, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Nov 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Fix more test failures on older crypt32 versions.
parent
4d2c9c3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
7 deletions
+18
-7
chain.c
dlls/crypt32/tests/chain.c
+18
-7
No files found.
dlls/crypt32/tests/chain.c
View file @
ba3433fa
...
...
@@ -2731,9 +2731,14 @@ static ChainCheck chainCheck[] = {
{
CERT_TRUST_IS_UNTRUSTED_ROOT
,
0
},
1
,
simpleStatus19
},
0
},
/* Older versions of crypt32 do not set
* CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT, though they should. So
* ignore it (on Windows) but require it (on Wine.)
*/
{
{
sizeof
(
chain20
)
/
sizeof
(
chain20
[
0
]),
chain20
},
{
{
CERT_TRUST_IS_NOT_TIME_NESTED
|
CERT_TRUST_IS_NOT_VALID_FOR_USAGE
|
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_PREFERRED_ISSUER
},
{
CERT_TRUST_IS_UNTRUSTED_ROOT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
0
},
...
...
@@ -2749,7 +2754,8 @@ static ChainCheck chainCheck[] = {
0
},
{
{
sizeof
(
chain22
)
/
sizeof
(
chain22
[
0
]),
chain22
},
{
{
CERT_TRUST_IS_NOT_TIME_NESTED
|
CERT_TRUST_IS_NOT_VALID_FOR_USAGE
|
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_PREFERRED_ISSUER
},
{
CERT_TRUST_IS_UNTRUSTED_ROOT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
0
},
...
...
@@ -2757,7 +2763,8 @@ static ChainCheck chainCheck[] = {
0
},
{
{
sizeof
(
chain23
)
/
sizeof
(
chain23
[
0
]),
chain23
},
{
{
CERT_TRUST_IS_NOT_TIME_NESTED
|
CERT_TRUST_IS_NOT_VALID_FOR_USAGE
|
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_PREFERRED_ISSUER
},
{
CERT_TRUST_IS_UNTRUSTED_ROOT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
0
},
...
...
@@ -2765,7 +2772,8 @@ static ChainCheck chainCheck[] = {
0
},
{
{
sizeof
(
chain24
)
/
sizeof
(
chain24
[
0
]),
chain24
},
{
{
CERT_TRUST_IS_NOT_TIME_NESTED
|
CERT_TRUST_IS_NOT_VALID_FOR_USAGE
|
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_PREFERRED_ISSUER
},
{
CERT_TRUST_IS_UNTRUSTED_ROOT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
0
},
...
...
@@ -2773,7 +2781,8 @@ static ChainCheck chainCheck[] = {
0
},
{
{
sizeof
(
chain25
)
/
sizeof
(
chain25
[
0
]),
chain25
},
{
{
CERT_TRUST_IS_NOT_TIME_NESTED
|
CERT_TRUST_IS_NOT_VALID_FOR_USAGE
|
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_PREFERRED_ISSUER
},
{
CERT_TRUST_IS_UNTRUSTED_ROOT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
0
},
...
...
@@ -2781,7 +2790,8 @@ static ChainCheck chainCheck[] = {
0
},
{
{
sizeof
(
chain26
)
/
sizeof
(
chain26
[
0
]),
chain26
},
{
{
CERT_TRUST_IS_NOT_TIME_NESTED
|
CERT_TRUST_IS_NOT_VALID_FOR_USAGE
|
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_PREFERRED_ISSUER
},
{
CERT_TRUST_IS_UNTRUSTED_ROOT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
0
},
...
...
@@ -2796,7 +2806,8 @@ static ChainCheck chainCheck[] = {
0
},
{
{
sizeof
(
chain28
)
/
sizeof
(
chain28
[
0
]),
chain28
},
{
{
CERT_TRUST_IS_NOT_TIME_NESTED
|
CERT_TRUST_IS_NOT_VALID_FOR_USAGE
|
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
CERT_TRUST_HAS_PREFERRED_ISSUER
},
{
CERT_TRUST_IS_UNTRUSTED_ROOT
|
CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT
,
0
},
...
...
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