crypt32: Check chain root's trusted status regardless of whether its signature is valid.
This commit is contained in:
parent
8cd7abf1be
commit
a4e88cb644
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue