Commit 558057b4 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Fix chain error status when a cert's issuer can't be found.

parent 97cfb3ad
...@@ -917,6 +917,7 @@ static BOOL CRYPT_BuildSimpleChain(PCertificateChainEngine engine, ...@@ -917,6 +917,7 @@ static BOOL CRYPT_BuildSimpleChain(PCertificateChainEngine engine,
else else
{ {
TRACE("Couldn't find issuer, halting chain creation\n"); TRACE("Couldn't find issuer, halting chain creation\n");
chain->TrustStatus.dwErrorStatus |= CERT_TRUST_IS_PARTIAL_CHAIN;
break; break;
} }
} }
......
...@@ -1595,7 +1595,7 @@ static ChainCheck chainCheckNoStore[] = { ...@@ -1595,7 +1595,7 @@ static ChainCheck chainCheckNoStore[] = {
{ { 0, CERT_TRUST_HAS_PREFERRED_ISSUER }, { { 0, CERT_TRUST_HAS_PREFERRED_ISSUER },
{ CERT_TRUST_IS_PARTIAL_CHAIN, 0 }, { CERT_TRUST_IS_PARTIAL_CHAIN, 0 },
1, simpleStatus8NoStore }, 1, simpleStatus8NoStore },
TODO_ERROR | TODO_INFO }, TODO_INFO },
}; };
/* Wednesday, Oct 1, 2007 */ /* Wednesday, Oct 1, 2007 */
......
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