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
8714c112
Commit
8714c112
authored
Oct 21, 2010
by
Juan Lang
Committed by
Alexandre Julliard
Oct 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Pass additional store to CertVerifyRevocation.
parent
c7f15882
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
chain.c
dlls/crypt32/chain.c
+10
-3
No files found.
dlls/crypt32/chain.c
View file @
8714c112
...
@@ -2569,7 +2569,8 @@ typedef struct _CERT_CHAIN_PARA_NO_EXTRA_FIELDS {
...
@@ -2569,7 +2569,8 @@ typedef struct _CERT_CHAIN_PARA_NO_EXTRA_FIELDS {
}
CERT_CHAIN_PARA_NO_EXTRA_FIELDS
,
*
PCERT_CHAIN_PARA_NO_EXTRA_FIELDS
;
}
CERT_CHAIN_PARA_NO_EXTRA_FIELDS
,
*
PCERT_CHAIN_PARA_NO_EXTRA_FIELDS
;
static
void
CRYPT_VerifyChainRevocation
(
PCERT_CHAIN_CONTEXT
chain
,
static
void
CRYPT_VerifyChainRevocation
(
PCERT_CHAIN_CONTEXT
chain
,
LPFILETIME
pTime
,
const
CERT_CHAIN_PARA
*
pChainPara
,
DWORD
chainFlags
)
LPFILETIME
pTime
,
HCERTSTORE
hAdditionalStore
,
const
CERT_CHAIN_PARA
*
pChainPara
,
DWORD
chainFlags
)
{
{
DWORD
cContext
;
DWORD
cContext
;
...
@@ -2618,6 +2619,12 @@ static void CRYPT_VerifyChainRevocation(PCERT_CHAIN_CONTEXT chain,
...
@@ -2618,6 +2619,12 @@ static void CRYPT_VerifyChainRevocation(PCERT_CHAIN_CONTEXT chain,
if
(
chainFlags
&
CERT_CHAIN_REVOCATION_ACCUMULATIVE_TIMEOUT
)
if
(
chainFlags
&
CERT_CHAIN_REVOCATION_ACCUMULATIVE_TIMEOUT
)
revocationFlags
|=
CERT_VERIFY_REV_ACCUMULATIVE_TIMEOUT_FLAG
;
revocationFlags
|=
CERT_VERIFY_REV_ACCUMULATIVE_TIMEOUT_FLAG
;
revocationPara
.
pftTimeToUse
=
pTime
;
revocationPara
.
pftTimeToUse
=
pTime
;
if
(
hAdditionalStore
)
{
revocationPara
.
cCertStore
=
1
;
revocationPara
.
rgCertStore
=
&
hAdditionalStore
;
revocationPara
.
hCrlStore
=
hAdditionalStore
;
}
if
(
pChainPara
->
cbSize
==
sizeof
(
CERT_CHAIN_PARA
))
if
(
pChainPara
->
cbSize
==
sizeof
(
CERT_CHAIN_PARA
))
{
{
revocationPara
.
dwUrlRetrievalTimeout
=
revocationPara
.
dwUrlRetrievalTimeout
=
...
@@ -2855,8 +2862,8 @@ BOOL WINAPI CertGetCertificateChain(HCERTCHAINENGINE hChainEngine,
...
@@ -2855,8 +2862,8 @@ BOOL WINAPI CertGetCertificateChain(HCERTCHAINENGINE hChainEngine,
if
(
!
(
dwFlags
&
CERT_CHAIN_RETURN_LOWER_QUALITY_CONTEXTS
))
if
(
!
(
dwFlags
&
CERT_CHAIN_RETURN_LOWER_QUALITY_CONTEXTS
))
CRYPT_FreeLowerQualityChains
(
chain
);
CRYPT_FreeLowerQualityChains
(
chain
);
pChain
=
(
PCERT_CHAIN_CONTEXT
)
chain
;
pChain
=
(
PCERT_CHAIN_CONTEXT
)
chain
;
if
(
!
pChain
->
TrustStatus
.
dwErrorStatus
)
CRYPT_VerifyChainRevocation
(
pChain
,
pTime
,
hAdditionalStore
,
CRYPT_VerifyChainRevocation
(
pChain
,
pTime
,
pChainPara
,
dwFlags
);
pChainPara
,
dwFlags
);
CRYPT_CheckUsages
(
pChain
,
pChainPara
);
CRYPT_CheckUsages
(
pChain
,
pChainPara
);
TRACE_
(
chain
)(
"error status: %08x
\n
"
,
TRACE_
(
chain
)(
"error status: %08x
\n
"
,
pChain
->
TrustStatus
.
dwErrorStatus
);
pChain
->
TrustStatus
.
dwErrorStatus
);
...
...
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