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
b1899c20
Commit
b1899c20
authored
Oct 05, 2010
by
Juan Lang
Committed by
Alexandre Julliard
Oct 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Set CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT when appropriate.
parent
d5bcf21c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
chain.c
dlls/crypt32/chain.c
+2
-1
chain.c
dlls/crypt32/tests/chain.c
+1
-1
No files found.
dlls/crypt32/chain.c
View file @
b1899c20
...
@@ -1971,7 +1971,8 @@ static void CRYPT_CheckSimpleChain(PCertificateChainEngine engine,
...
@@ -1971,7 +1971,8 @@ static void CRYPT_CheckSimpleChain(PCertificateChainEngine engine,
if
(
!
CRYPT_CriticalExtensionsSupported
(
if
(
!
CRYPT_CriticalExtensionsSupported
(
chain
->
rgpElement
[
i
]
->
pCertContext
))
chain
->
rgpElement
[
i
]
->
pCertContext
))
chain
->
rgpElement
[
i
]
->
TrustStatus
.
dwErrorStatus
|=
chain
->
rgpElement
[
i
]
->
TrustStatus
.
dwErrorStatus
|=
CERT_TRUST_INVALID_EXTENSION
;
CERT_TRUST_INVALID_EXTENSION
|
CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT
;
CRYPT_CombineTrustStatus
(
&
chain
->
TrustStatus
,
CRYPT_CombineTrustStatus
(
&
chain
->
TrustStatus
,
&
chain
->
rgpElement
[
i
]
->
TrustStatus
);
&
chain
->
rgpElement
[
i
]
->
TrustStatus
);
}
}
...
...
dlls/crypt32/tests/chain.c
View file @
b1899c20
...
@@ -3491,7 +3491,7 @@ static ChainCheck chainCheck[] = {
...
@@ -3491,7 +3491,7 @@ static ChainCheck chainCheck[] = {
{
CERT_TRUST_IS_UNTRUSTED_ROOT
|
CERT_TRUST_INVALID_EXTENSION
|
{
CERT_TRUST_IS_UNTRUSTED_ROOT
|
CERT_TRUST_INVALID_EXTENSION
|
CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT
,
0
},
CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT
,
0
},
1
,
simpleStatus30
},
1
,
simpleStatus30
},
TODO_ERROR
},
0
},
{
{
sizeof
(
selfSignedChain
)
/
sizeof
(
selfSignedChain
[
0
]),
selfSignedChain
},
{
{
sizeof
(
selfSignedChain
)
/
sizeof
(
selfSignedChain
[
0
]),
selfSignedChain
},
{
{
0
,
CERT_TRUST_HAS_PREFERRED_ISSUER
},
{
{
0
,
CERT_TRUST_HAS_PREFERRED_ISSUER
},
{
CERT_TRUST_IS_NOT_TIME_VALID
|
CERT_TRUST_IS_UNTRUSTED_ROOT
,
0
},
{
CERT_TRUST_IS_NOT_TIME_VALID
|
CERT_TRUST_IS_UNTRUSTED_ROOT
,
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