Juan Lang : crypt32: Only check revocation on a chain without other errors.
Alexandre Julliard
julliard at winehq.org
Thu Dec 3 10:29:50 CST 2009
Module: wine
Branch: master
Commit: 596cd16fc491db7484ca3cd84f31dc2298826a9e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=596cd16fc491db7484ca3cd84f31dc2298826a9e
Author: Juan Lang <juan.lang at gmail.com>
Date: Wed Dec 2 09:28:51 2009 -0800
crypt32: Only check revocation on a chain without other errors.
---
dlls/crypt32/chain.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c
index de482ae..5cc46b7 100644
--- a/dlls/crypt32/chain.c
+++ b/dlls/crypt32/chain.c
@@ -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;
More information about the wine-cvs
mailing list