Commit 55a58181 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

wintrust/tests: Initialize cbStruct in the ObjectTrust tests.

parent fca49ddc
...@@ -317,6 +317,8 @@ static void testObjTrust(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID) ...@@ -317,6 +317,8 @@ static void testObjTrust(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID)
/* Crashes /* Crashes
ret = funcs->pfnObjectTrust(NULL); ret = funcs->pfnObjectTrust(NULL);
*/ */
data.cbStruct = sizeof(data);
data.pSigState = &sig_state; data.pSigState = &sig_state;
data.pWintrustData = &wintrust_data; data.pWintrustData = &wintrust_data;
data.padwTrustStepErrors = data.padwTrustStepErrors =
......
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