Commit 7770937a authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

wintrust/tests: Zero-init error array to prevent failures on 64-bit.

parent 34737c67
......@@ -250,6 +250,8 @@ static void testInitialize(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID)
if (data.padwTrustStepErrors)
{
/* Apparently, cdwTrustStepErrors does not need to be set. */
memset(data.padwTrustStepErrors, 0,
TRUSTERROR_MAX_STEPS * sizeof(DWORD));
ret = funcs->pfnInitialize(&data);
ok(ret == S_OK, "Expected S_OK, got %08x\n", ret);
data.cdwTrustStepErrors = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment