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

crypt32: Check chain root's trusted status regardless of whether its signature is valid.

parent 8cd7abf1
......@@ -367,7 +367,7 @@ static BOOL CRYPT_BuildSimpleChain(HCERTCHAINENGINE hChainEngine,
CERT_TRUST_IS_NOT_SIGNATURE_VALID;
}
}
if (ret)
if (CRYPT_IsCertificateSelfSigned(root))
{
BYTE hash[20];
DWORD size = sizeof(hash);
......
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