Juan Lang : crypt32: Include name constraints errors in the chain' s error status.
Alexandre Julliard
julliard at winehq.org
Tue Nov 17 09:28:16 CST 2009
Module: wine
Branch: master
Commit: 3c8a04f12f5b54e20af4c2767653086771b55c01
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3c8a04f12f5b54e20af4c2767653086771b55c01
Author: Juan Lang <juan.lang at gmail.com>
Date: Fri Nov 13 16:37:52 2009 -0800
crypt32: Include name constraints errors in the chain's error status.
---
dlls/crypt32/chain.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c
index 6344e67..3badef1 100644
--- a/dlls/crypt32/chain.c
+++ b/dlls/crypt32/chain.c
@@ -816,8 +816,12 @@ static void CRYPT_CheckChainNameConstraints(PCERT_SIMPLE_CHAIN chain)
chain->rgpElement[j]->pCertContext->pCertInfo,
&errorStatus);
if (errorStatus)
+ {
chain->rgpElement[i]->TrustStatus.dwErrorStatus |=
errorStatus;
+ CRYPT_CombineTrustStatus(&chain->TrustStatus,
+ &chain->rgpElement[i]->TrustStatus);
+ }
else
chain->rgpElement[i]->TrustStatus.dwInfoStatus |=
CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS;
More information about the wine-cvs
mailing list