Juan Lang : crypt32: Not finding an issuer shouldn'
t cause chain creation to fail.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Sep 10 10:17:59 CDT 2007
Module: wine
Branch: master
Commit: 818634d69a4c3979b43d467818a319208053d709
URL: http://source.winehq.org/git/wine.git/?a=commit;h=818634d69a4c3979b43d467818a319208053d709
Author: Juan Lang <juan.lang at gmail.com>
Date: Thu Sep 6 09:58:56 2007 -0700
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 5546886..c6b197a 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 93bbe2c..83627e0 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 */
More information about the wine-cvs
mailing list