crypt32/tests: Improved test failure message.

This commit is contained in:
Jacek Caban 2014-03-12 11:24:52 +01:00 committed by Alexandre Julliard
parent f0de67de0c
commit 3d09d1a9cb
1 changed files with 2 additions and 3 deletions

View File

@ -3880,9 +3880,8 @@ static void testGetCertChain(void)
ok(ret, "CertGetCertificateChain failed: %08x\n", GetLastError());
if (ret)
{
ok(!(chain->TrustStatus.dwErrorStatus &
CERT_TRUST_IS_NOT_VALID_FOR_USAGE),
"didn't expect CERT_TRUST_IS_NOT_VALID_FOR_USAGE\n");
ok(!(chain->TrustStatus.dwErrorStatus & CERT_TRUST_IS_NOT_VALID_FOR_USAGE),
"didn't expect CERT_TRUST_IS_NOT_VALID_FOR_USAGE, got %x\n", chain->TrustStatus.dwErrorStatus);
pCertFreeCertificateChain(chain);
}
oids[1] = one_two_three;