crypt32: Use broken() to mark an expected result from a broken version of crypt32.

This commit is contained in:
Juan Lang 2009-11-12 10:35:12 -08:00 committed by Alexandre Julliard
parent b91d0c8bde
commit d311cc9bdb

View file

@ -3230,6 +3230,12 @@ static void testGetCertChain(void)
chainCheckEmbeddedNull.todo, 0);
if (chain)
{
ok(chain->TrustStatus.dwErrorStatus ==
chainCheckEmbeddedNull.status.status.dwErrorStatus ||
broken(chain->TrustStatus.dwErrorStatus ==
chainCheckEmbeddedNullBroken.status.status.dwErrorStatus),
"unexpected chain error status %08x\n",
chain->TrustStatus.dwErrorStatus);
if (chainCheckEmbeddedNull.status.status.dwErrorStatus ==
chain->TrustStatus.dwErrorStatus)
checkChainStatus(chain, &chainCheckEmbeddedNull.status,