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
ad2ea9d9
Commit
ad2ea9d9
authored
Feb 11, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Feb 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Change some traces to the chain channel.
parent
e7dd46b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
chain.c
dlls/crypt32/chain.c
+6
-6
No files found.
dlls/crypt32/chain.c
View file @
ad2ea9d9
...
...
@@ -356,7 +356,7 @@ static void CRYPT_CheckRootCert(HCERTCHAINENGINE hRoot,
CRYPT_VERIFY_CERT_SIGN_SUBJECT_CERT
,
(
void
*
)
root
,
CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT
,
(
void
*
)
root
,
0
,
NULL
))
{
TRACE
(
"Last certificate's signature is invalid
\n
"
);
TRACE
_
(
chain
)
(
"Last certificate's signature is invalid
\n
"
);
rootElement
->
TrustStatus
.
dwErrorStatus
|=
CERT_TRUST_IS_NOT_SIGNATURE_VALID
;
}
...
...
@@ -433,7 +433,7 @@ static BOOL CRYPT_CheckBasicConstraintsForCA(PCCERT_CONTEXT cert,
{
if
(
!
constraints
.
fCA
)
{
TRACE
(
"chain element %d can't be a CA
\n
"
,
remainingCAs
+
1
);
TRACE
_
(
chain
)
(
"chain element %d can't be a CA
\n
"
,
remainingCAs
+
1
);
validBasicConstraints
=
FALSE
;
}
else
if
(
constraints
.
fPathLenConstraint
)
...
...
@@ -445,7 +445,7 @@ static BOOL CRYPT_CheckBasicConstraintsForCA(PCCERT_CONTEXT cert,
constraints
.
dwPathLenConstraint
<
chainConstraints
->
dwPathLenConstraint
)
{
TRACE
(
"setting path length constraint to %d
\n
"
,
TRACE
_
(
chain
)
(
"setting path length constraint to %d
\n
"
,
chainConstraints
->
dwPathLenConstraint
);
chainConstraints
->
fPathLenConstraint
=
TRUE
;
chainConstraints
->
dwPathLenConstraint
=
...
...
@@ -456,8 +456,8 @@ static BOOL CRYPT_CheckBasicConstraintsForCA(PCCERT_CONTEXT cert,
if
(
chainConstraints
->
fPathLenConstraint
&&
remainingCAs
>
chainConstraints
->
dwPathLenConstraint
)
{
TRACE
(
"remaining CAs %d exceed max path length %d
\n
"
,
remainingCAs
,
chainConstraints
->
dwPathLenConstraint
);
TRACE
_
(
chain
)(
"remaining CAs %d exceed max path length %d
\n
"
,
remainingCAs
,
chainConstraints
->
dwPathLenConstraint
);
validBasicConstraints
=
FALSE
;
*
pathLengthConstraintViolated
=
TRUE
;
}
...
...
@@ -1016,7 +1016,7 @@ static BOOL CRYPT_BuildSimpleChain(PCertificateChainEngine engine,
}
else
{
TRACE
(
"Couldn't find issuer, halting chain creation
\n
"
);
TRACE
_
(
chain
)
(
"Couldn't find issuer, halting chain creation
\n
"
);
chain
->
TrustStatus
.
dwErrorStatus
|=
CERT_TRUST_IS_PARTIAL_CHAIN
;
break
;
}
...
...
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