Commit cf629f7e authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

schannel/tests: Avoid dereferencing a null function pointer.

parent c1101777
......@@ -213,6 +213,11 @@ static void testGetInfo(void)
pTables = getNextSecPkgTable(pTables, Version);
if (!pTables)
return;
if (!pTables->GetInfo)
{
win_skip("GetInfo function missing\n");
return;
}
status = pTables->GetInfo(&PackageInfo);
ok(status == STATUS_SUCCESS ||
status == SEC_E_UNSUPPORTED_FUNCTION, /* win2k3 */
......
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