Juan Lang : crypt32: Fix a failing test on Windows.
Alexandre Julliard
julliard at winehq.org
Mon Oct 27 08:02:58 CDT 2008
Module: wine
Branch: master
Commit: 80b33c8aebee52095b359789d0d934a5dc98dbf4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=80b33c8aebee52095b359789d0d934a5dc98dbf4
Author: Juan Lang <juan.lang at gmail.com>
Date: Fri Oct 24 15:33:23 2008 -0700
crypt32: Fix a failing test on Windows.
---
dlls/crypt32/tests/chain.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c
index cafe814..5bfc58c 100644
--- a/dlls/crypt32/tests/chain.c
+++ b/dlls/crypt32/tests/chain.c
@@ -1509,8 +1509,12 @@ static ChainCheck chainCheck[] = {
{ CERT_TRUST_INVALID_BASIC_CONSTRAINTS | CERT_TRUST_IS_UNTRUSTED_ROOT |
CERT_TRUST_IS_NOT_TIME_VALID, 0 },
1, simpleStatus4 }, 0 },
+ /* Windows versions prior to Vista/2008 incorrectly set
+ * CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT on this chain, so ignore it.
+ */
{ { sizeof(chain5) / sizeof(chain5[0]), chain5 },
- { { 0, CERT_TRUST_HAS_PREFERRED_ISSUER },
+ { { CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT,
+ CERT_TRUST_HAS_PREFERRED_ISSUER },
{ CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT |
CERT_TRUST_IS_UNTRUSTED_ROOT, 0 }, 1, simpleStatus5 }, 0 },
{ { sizeof(chain6) / sizeof(chain6[0]), chain6 },
More information about the wine-cvs
mailing list