crypt32: Fix more test failures.

This commit is contained in:
Juan Lang 2009-11-13 10:58:50 -08:00 committed by Alexandre Julliard
parent c49606e8a0
commit 8adc75b3ec
1 changed files with 3 additions and 3 deletions

View File

@ -3034,8 +3034,7 @@ static const SimpleChainStatusCheck simpleStatus27[] = {
static const CERT_TRUST_STATUS elementStatus27Broken[] = { static const CERT_TRUST_STATUS elementStatus27Broken[] = {
{ CERT_TRUST_NO_ERROR, CERT_TRUST_HAS_NAME_MATCH_ISSUER }, { CERT_TRUST_NO_ERROR, CERT_TRUST_HAS_NAME_MATCH_ISSUER },
{ CERT_TRUST_IS_UNTRUSTED_ROOT, { CERT_TRUST_IS_UNTRUSTED_ROOT,
CERT_TRUST_IS_SELF_SIGNED | CERT_TRUST_HAS_NAME_MATCH_ISSUER | CERT_TRUST_IS_SELF_SIGNED | CERT_TRUST_HAS_NAME_MATCH_ISSUER },
CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS },
}; };
static const SimpleChainStatusCheck simpleStatus27Broken[] = { static const SimpleChainStatusCheck simpleStatus27Broken[] = {
{ sizeof(elementStatus27Broken) / sizeof(elementStatus27Broken[0]), { sizeof(elementStatus27Broken) / sizeof(elementStatus27Broken[0]),
@ -3408,7 +3407,8 @@ static ChainCheck chainCheckEmbeddedNullBroken = {
{ { CERT_TRUST_IS_NOT_TIME_NESTED | CERT_TRUST_IS_NOT_VALID_FOR_USAGE | { { CERT_TRUST_IS_NOT_TIME_NESTED | CERT_TRUST_IS_NOT_VALID_FOR_USAGE |
CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT, CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT,
CERT_TRUST_HAS_PREFERRED_ISSUER }, CERT_TRUST_HAS_PREFERRED_ISSUER },
{ CERT_TRUST_IS_UNTRUSTED_ROOT, CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS }, { CERT_TRUST_IS_UNTRUSTED_ROOT | CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT,
0 },
1, simpleStatus27Broken }, 1, simpleStatus27Broken },
0 }; 0 };