wintrust/tests: Make sure return values are used (LLVM/Clang).

This commit is contained in:
Austin English 2011-02-04 00:48:58 -08:00 committed by Alexandre Julliard
parent 0fed8b0fe2
commit 855c5e848d
1 changed files with 3 additions and 0 deletions

View File

@ -378,6 +378,7 @@ static void testObjTrust(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID)
{
fileInfo.pgKnownSubject = (GUID *)0xdeadbeef;
ret = funcs->pfnObjectTrust(&data);
ok(ret == S_FALSE, "Expected S_FALSE, got %08x\n", ret);
}
funcs->pfnFree(data.padwTrustStepErrors);
}
@ -447,6 +448,8 @@ static void testCertTrust(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID)
WINTRUST_DATA wintrust_data = { 0 };
ret = funcs->pfnAddCert2Chain(&data, 0, FALSE, 0, cert);
ok(ret == S_FALSE, "Expected S_FALSE, got %08x\n", ret);
/* If pWintrustData isn't set, crashes attempting to access
* pWintrustData->fdwRevocationChecks
*/