Juan Lang : crypt32: Check chain root' s trusted status regardless of whether its signature is valid.
Module: wine Branch: master Commit: a4e88cb64402e602ab1a61f859bc8eaafdc5c139 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a4e88cb64402e602ab1a61f859... Author: Juan Lang <juan.lang(a)gmail.com> Date: Thu Aug 30 17:51:45 2007 -0700 crypt32: Check chain root's trusted status regardless of whether its signature is valid. --- dlls/crypt32/chain.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c index 6584085..b87eee1 100644 --- a/dlls/crypt32/chain.c +++ b/dlls/crypt32/chain.c @@ -367,7 +367,7 @@ static BOOL CRYPT_BuildSimpleChain(HCERTCHAINENGINE hChainEngine, CERT_TRUST_IS_NOT_SIGNATURE_VALID; } } - if (ret) + if (CRYPT_IsCertificateSelfSigned(root)) { BYTE hash[20]; DWORD size = sizeof(hash);
participants (1)
-
Alexandre Julliard