Commit cf2047fd authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

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

parent 6a8a7362
......@@ -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 =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment