mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
crypt32: Fix a regression in chain tests.
Relaxing the tests on older versions of Windows caused a couple tests to fail on more recent ones, which was unintended.
This commit is contained in:
parent
e9996b9be4
commit
42be55d744
1 changed files with 3 additions and 2 deletions
|
@ -1183,7 +1183,7 @@ static void checkElementStatus(const CERT_TRUST_STATUS *expected,
|
|||
else
|
||||
ok(got->dwErrorStatus == expected->dwErrorStatus ||
|
||||
broken((got->dwErrorStatus & ~ignore->dwErrorStatus) ==
|
||||
expected->dwErrorStatus),
|
||||
(expected->dwErrorStatus & ~ignore->dwErrorStatus)),
|
||||
"Chain %d, element [%d,%d]: expected error %08x, got %08x\n",
|
||||
testIndex, chainIndex, elementIndex, expected->dwErrorStatus,
|
||||
got->dwErrorStatus);
|
||||
|
@ -1258,7 +1258,8 @@ static void checkChainStatus(PCCERT_CHAIN_CONTEXT chain,
|
|||
chainStatus->status.dwErrorStatus ||
|
||||
broken((chain->TrustStatus.dwErrorStatus &
|
||||
~chainStatus->statusToIgnore.dwErrorStatus) ==
|
||||
chainStatus->status.dwErrorStatus),
|
||||
(chainStatus->status.dwErrorStatus &
|
||||
~chainStatus->statusToIgnore.dwErrorStatus)),
|
||||
"Chain %d: expected error %08x, got %08x\n",
|
||||
testIndex, chainStatus->status.dwErrorStatus,
|
||||
chain->TrustStatus.dwErrorStatus);
|
||||
|
|
Loading…
Reference in a new issue