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
be3a5e36
Commit
be3a5e36
authored
Sep 29, 2010
by
Juan Lang
Committed by
Alexandre Julliard
Sep 30, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Check revocation failures when verifying the SSL policy.
parent
da11d66b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
chain.c
dlls/crypt32/chain.c
+17
-0
No files found.
dlls/crypt32/chain.c
View file @
be3a5e36
...
@@ -3337,6 +3337,23 @@ static BOOL WINAPI verify_ssl_policy(LPCSTR szPolicyOID,
...
@@ -3337,6 +3337,23 @@ static BOOL WINAPI verify_ssl_policy(LPCSTR szPolicyOID,
CERT_TRUST_IS_NOT_VALID_FOR_USAGE
,
&
pPolicyStatus
->
lChainIndex
,
CERT_TRUST_IS_NOT_VALID_FOR_USAGE
,
&
pPolicyStatus
->
lChainIndex
,
&
pPolicyStatus
->
lElementIndex
);
&
pPolicyStatus
->
lElementIndex
);
}
}
else
if
(
pChainContext
->
TrustStatus
.
dwErrorStatus
&
CERT_TRUST_IS_REVOKED
&&
!
(
checks
&
SECURITY_FLAG_IGNORE_REVOCATION
))
{
pPolicyStatus
->
dwError
=
CERT_E_REVOKED
;
find_element_with_error
(
pChainContext
,
CERT_TRUST_IS_REVOKED
,
&
pPolicyStatus
->
lChainIndex
,
&
pPolicyStatus
->
lElementIndex
);
}
else
if
(
pChainContext
->
TrustStatus
.
dwErrorStatus
&
CERT_TRUST_IS_OFFLINE_REVOCATION
&&
!
(
checks
&
SECURITY_FLAG_IGNORE_REVOCATION
))
{
pPolicyStatus
->
dwError
=
CERT_E_REVOCATION_FAILURE
;
find_element_with_error
(
pChainContext
,
CERT_TRUST_IS_OFFLINE_REVOCATION
,
&
pPolicyStatus
->
lChainIndex
,
&
pPolicyStatus
->
lElementIndex
);
}
else
else
pPolicyStatus
->
dwError
=
NO_ERROR
;
pPolicyStatus
->
dwError
=
NO_ERROR
;
/* We only need bother checking whether the name in the end certificate
/* We only need bother checking whether the name in the end certificate
...
...
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