Juan Lang : crypt32: The preferred issuer flag appears to be a bug in XP, so don't set it.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Aug 31 14:01:19 CDT 2007


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Thu Aug 30 17:49:27 2007 -0700

crypt32: The preferred issuer flag appears to be a bug in XP, so don't set it.

---

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

diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c
index 2b00ff0..cfe05b3 100644
--- a/dlls/crypt32/chain.c
+++ b/dlls/crypt32/chain.c
@@ -255,10 +255,6 @@ static BOOL CRYPT_AddCertToSimpleChain(PCERT_SIMPLE_CHAIN chain,
             if (dwFlags & CERT_STORE_TIME_VALIDITY_FLAG)
                 element->TrustStatus.dwErrorStatus |=
                  CERT_TRUST_IS_NOT_TIME_VALID;
-            /* It appears, from every example certificate chain I've found,
-             * that this flag is always set:
-             */
-            element->TrustStatus.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER;
             if (chain->cElement)
             {
                 PCERT_CHAIN_ELEMENT prevElement =




More information about the wine-cvs mailing list