From 818634d69a4c3979b43d467818a319208053d709 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Thu, 6 Sep 2007 09:58:56 -0700 Subject: [PATCH] crypt32: Not finding an issuer shouldn't cause chain creation to fail. --- dlls/crypt32/chain.c | 4 ++-- dlls/crypt32/tests/chain.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c index 5546886ce17..c6b197a1522 100644 --- a/dlls/crypt32/chain.c +++ b/dlls/crypt32/chain.c @@ -544,8 +544,8 @@ static BOOL CRYPT_BuildSimpleChain(HCERTCHAINENGINE hChainEngine, } else { - TRACE("Couldn't find issuer, aborting chain creation\n"); - ret = FALSE; + TRACE("Couldn't find issuer, halting chain creation\n"); + break; } } if (ret) diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c index 93bbe2c3775..83627e053fe 100644 --- a/dlls/crypt32/tests/chain.c +++ b/dlls/crypt32/tests/chain.c @@ -1583,7 +1583,7 @@ static ChainCheck chainCheckNoStore[] = { { CERT_TRUST_INVALID_BASIC_CONSTRAINTS | CERT_TRUST_IS_UNTRUSTED_ROOT | CERT_TRUST_IS_NOT_TIME_VALID, 0 }, 1, simpleStatus8NoStore }, - TODO_CHAIN | TODO_ERROR | TODO_INFO }, + TODO_INFO }, }; /* Wednesday, Oct 1, 2007 */