crypt32: Remove redundant if clause.

This commit is contained in:
Juan Lang 2009-10-28 16:50:10 -07:00 committed by Alexandre Julliard
parent 9a13e1c70b
commit c310637f4f
1 changed files with 0 additions and 1 deletions

View File

@ -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))