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
01a7cbf8
Commit
01a7cbf8
authored
Dec 11, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Dec 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Accept end certificates with no extended key usage extension if a…
crypt32: Accept end certificates with no extended key usage extension if a particular key usage is requested.
parent
350cdd2f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
chain.c
dlls/crypt32/chain.c
+4
-3
No files found.
dlls/crypt32/chain.c
View file @
01a7cbf8
...
...
@@ -2541,10 +2541,11 @@ static void CRYPT_CheckUsages(PCERT_CHAIN_CONTEXT chain,
* key usage extension be present and that a particular purpose
* be indicated in order for the certificate to be acceptable to
* that application."
* For now I'm being more conservative and disallowing it.
* Not all web sites include the extended key usage extension, so
* accept chains without it.
*/
WARN_
(
chain
)(
"requested usage from a
certificate with no usages
\n
"
);
validForUsage
=
FALS
E
;
TRACE_
(
chain
)(
"requested usage from
certificate with no usages
\n
"
);
validForUsage
=
TRU
E
;
}
if
(
!
validForUsage
)
{
...
...
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