Juan Lang : crypt32: Remove redundant if clause.

Alexandre Julliard julliard at winehq.org
Fri Oct 30 11:04:30 CDT 2009


Module: wine
Branch: master
Commit: c310637f4ff12e4b3782fb5c4a06312135557adc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c310637f4ff12e4b3782fb5c4a06312135557adc

Author: Juan Lang <juan.lang at gmail.com>
Date:   Wed Oct 28 16:50:10 2009 -0700

crypt32: Remove redundant if clause.

---

 dlls/crypt32/chain.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c
index 8972463..3b618fa 100644
--- a/dlls/crypt32/chain.c
+++ b/dlls/crypt32/chain.c
@@ -1725,7 +1725,6 @@ static DWORD CRYPT_ChainQuality(const CertificateChain *chain)
         quality &= ~CHAIN_QUALITY_TRUSTED_ROOT;
     if (IS_TRUST_ERROR_SET(&chain->context.TrustStatus,
      CERT_TRUST_IS_PARTIAL_CHAIN))
-    if (chain->context.TrustStatus.dwErrorStatus & CERT_TRUST_IS_PARTIAL_CHAIN)
         quality &= ~CHAIN_QUALITY_COMPLETE_CHAIN;
     if (IS_TRUST_ERROR_SET(&chain->context.TrustStatus,
      CERT_TRUST_IS_NOT_TIME_VALID | CERT_TRUST_IS_NOT_TIME_NESTED))




More information about the wine-cvs mailing list