Commit 8170acfc authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Remove iTunes chain from certificate policy tests, there's no guarantee…

crypt32: Remove iTunes chain from certificate policy tests, there's no guarantee the root cert is trusted.
parent 82403950
......@@ -1662,8 +1662,6 @@ static ChainPolicyCheck basePolicyCheck[] = {
{ 0, TRUST_E_CERT_SIGNATURE, 0, 1, NULL }, 0 },
{ { sizeof(selfSignedChain) / sizeof(selfSignedChain[0]), selfSignedChain },
{ 0, CERT_E_UNTRUSTEDROOT, 0, 0, NULL }, 0 },
{ { sizeof(iTunesChain) / sizeof(iTunesChain[0]), iTunesChain },
{ 0, 0, -1, -1, NULL }, 0 },
};
static ChainPolicyCheck authenticodePolicyCheck[] = {
......@@ -1695,8 +1693,6 @@ static ChainPolicyCheck authenticodePolicyCheck[] = {
{ 0, TRUST_E_CERT_SIGNATURE, 0, 1, NULL }, 0 },
{ { sizeof(selfSignedChain) / sizeof(selfSignedChain[0]), selfSignedChain },
{ 0, CERT_E_UNTRUSTEDROOT, 0, 0, NULL }, 0 },
{ { sizeof(iTunesChain) / sizeof(iTunesChain[0]), iTunesChain },
{ 0, 0, -1, -1, NULL }, 0 },
};
static ChainPolicyCheck basicConstraintsPolicyCheck[] = {
......@@ -1730,8 +1726,6 @@ static ChainPolicyCheck basicConstraintsPolicyCheck[] = {
{ 0, 0, -1, -1, NULL }, 0 },
{ { sizeof(selfSignedChain) / sizeof(selfSignedChain[0]), selfSignedChain },
{ 0, 0, -1, -1, NULL }, 0 },
{ { sizeof(iTunesChain) / sizeof(iTunesChain[0]), iTunesChain },
{ 0, 0, -1, -1, NULL }, 0 },
};
static void checkChainPolicyStatus(LPCSTR policy, ChainPolicyCheck *check,
......
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