Juan Lang : crypt32: Don't add end cert's store to world.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Sep 10 10:17:58 CDT 2007
Module: wine
Branch: master
Commit: 8698a598fc8aa2094caa1800ec13e8de19ac087e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8698a598fc8aa2094caa1800ec13e8de19ac087e
Author: Juan Lang <juan.lang at gmail.com>
Date: Thu Sep 6 09:58:32 2007 -0700
crypt32: Don't add end cert's store to world.
---
dlls/crypt32/chain.c | 2 --
dlls/crypt32/tests/chain.c | 2 +-
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c
index 5d6a8c6..5546886 100644
--- a/dlls/crypt32/chain.c
+++ b/dlls/crypt32/chain.c
@@ -572,8 +572,6 @@ static BOOL CRYPT_BuildCandidateChainFromCert(HCERTCHAINENGINE hChainEngine,
world = CertOpenStore(CERT_STORE_PROV_COLLECTION, 0, 0,
CERT_STORE_CREATE_NEW_FLAG, NULL);
CertAddStoreToCollection(world, engine->hWorld, 0, 0);
- if (cert->hCertStore)
- CertAddStoreToCollection(world, cert->hCertStore, 0, 0);
if (hAdditionalStore)
CertAddStoreToCollection(world, hAdditionalStore, 0, 0);
/* FIXME: only simple chains are supported for now, as CTLs aren't
diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c
index 0698e2c..93bbe2c 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_ELEMENTS | TODO_ERROR | TODO_INFO },
+ TODO_CHAIN | TODO_ERROR | TODO_INFO },
};
/* Wednesday, Oct 1, 2007 */
More information about the wine-cvs
mailing list