[PATCH 0/1] MR6579: crypt32/tests: Fix a test failure.
From: Hans Leidekker <hans(a)codeweavers.com> --- dlls/crypt32/tests/chain.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c index 642d4213c2d..9717b184c14 100644 --- a/dlls/crypt32/tests/chain.c +++ b/dlls/crypt32/tests/chain.c @@ -4566,12 +4566,9 @@ static void testGetCertChain(void) for(i=0; i < simple_chain->cElement; i++) { chain_elem = simple_chain->rgpElement[i]; ok(chain_elem->cbSize == sizeof(*chain_elem), "chain_elem->cbSize = %lu\n", chain_elem->cbSize); - if (!i) + if (!i || i == 1) ok(chain_elem->TrustStatus.dwErrorStatus == CERT_TRUST_HAS_EXACT_MATCH_ISSUER, "chain_elem->TrustStatus.dwErrorStatus = %lx\n", chain_elem->TrustStatus.dwErrorStatus); - else if (i == 1) - todo_wine ok(!chain_elem->TrustStatus.dwErrorStatus, "chain_elem->TrustStatus.dwErrorStatus = %lx\n", - chain_elem->TrustStatus.dwErrorStatus); else ok(!chain_elem->TrustStatus.dwErrorStatus, "chain_elem->TrustStatus.dwErrorStatus = %lx\n", chain_elem->TrustStatus.dwErrorStatus); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6579
participants (2)
-
Hans Leidekker -
Hans Leidekker (@hans)