crypt32/tests: Fix tests skipped on all test bot machines.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2021-04-15 17:25:10 +02:00 committed by Alexandre Julliard
parent a0dc2adf73
commit be3f6c87a0
1 changed files with 4 additions and 8 deletions

View File

@ -4741,17 +4741,17 @@ static const CERT_CHAIN_POLICY_STATUS badDateNestingStatus =
static const ChainPolicyCheck ignoredBadDateNestingBasePolicyCheck = { static const ChainPolicyCheck ignoredBadDateNestingBasePolicyCheck = {
{ ARRAY_SIZE(chain2), chain2 }, { ARRAY_SIZE(chain2), chain2 },
{ 0, CERT_E_EXPIRED, 0, 1, NULL}, &badDateNestingStatus, TODO_ELEMENTS { 0, 0, -1, -1, NULL}, NULL, TODO_ERROR
}; };
static const ChainPolicyCheck ignoredInvalidDateBasePolicyCheck = { static const ChainPolicyCheck ignoredInvalidDateBasePolicyCheck = {
{ ARRAY_SIZE(googleChain), googleChain }, { ARRAY_SIZE(googleChain), googleChain },
{ 0, CERT_E_EXPIRED, 0, 1, NULL}, &badDateNestingStatus, TODO_ELEMENTS { 0, 0, -1, -1, NULL}, NULL, TODO_ERROR
}; };
static const ChainPolicyCheck ignoredInvalidUsageBasePolicyCheck = { static const ChainPolicyCheck ignoredInvalidUsageBasePolicyCheck = {
{ ARRAY_SIZE(chain15), chain15 }, { ARRAY_SIZE(chain15), chain15 },
{ 0, CERT_E_EXPIRED, 0, 1, NULL}, NULL, TODO_ERROR { 0, 0, -1, -1, NULL}, NULL, 0
}; };
static const ChainPolicyCheck invalidUsageBasePolicyCheck = { static const ChainPolicyCheck invalidUsageBasePolicyCheck = {
@ -4812,13 +4812,9 @@ static const ChainPolicyCheck googlePolicyCheckWithMatchingNameExpired = {
{ 0, CERT_E_EXPIRED, 0, 0, NULL}, NULL, 0 { 0, CERT_E_EXPIRED, 0, 0, NULL}, NULL, 0
}; };
/* Win98 sees the chain as expired, even though it isn't for the date tested */
static const CERT_CHAIN_POLICY_STATUS expiredStatus =
{ 0, CERT_E_EXPIRED, 0, 0, NULL };
static const ChainPolicyCheck googlePolicyCheckWithMatchingName = { static const ChainPolicyCheck googlePolicyCheckWithMatchingName = {
{ ARRAY_SIZE(googleChain), googleChain }, { ARRAY_SIZE(googleChain), googleChain },
{ 0, 0, -1, -1, NULL}, &expiredStatus, 0 { 0, 0, -1, -1, NULL}, NULL, 0
}; };
/* Win98 does not trust the root of the OpenSSL chain or the Stanford chain */ /* Win98 does not trust the root of the OpenSSL chain or the Stanford chain */