mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
crypt32: Only check revocation on a chain without other errors.
This commit is contained in:
parent
8115c6243b
commit
596cd16fc4
1 changed files with 2 additions and 1 deletions
|
@ -2638,7 +2638,8 @@ BOOL WINAPI CertGetCertificateChain(HCERTCHAINENGINE hChainEngine,
|
|||
if (!(dwFlags & CERT_CHAIN_RETURN_LOWER_QUALITY_CONTEXTS))
|
||||
CRYPT_FreeLowerQualityChains(chain);
|
||||
pChain = (PCERT_CHAIN_CONTEXT)chain;
|
||||
CRYPT_VerifyChainRevocation(pChain, pTime, pChainPara, dwFlags);
|
||||
if (!pChain->TrustStatus.dwErrorStatus)
|
||||
CRYPT_VerifyChainRevocation(pChain, pTime, pChainPara, dwFlags);
|
||||
CRYPT_CheckUsages(pChain, pChainPara);
|
||||
if (ppChainContext)
|
||||
*ppChainContext = pChain;
|
||||
|
|
Loading…
Reference in a new issue