schannel/tests: Avoid dereferencing a null function pointer.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c11017771a
commit
cf629f7edd
@ -213,6 +213,11 @@ static void testGetInfo(void)
|
|||||||
pTables = getNextSecPkgTable(pTables, Version);
|
pTables = getNextSecPkgTable(pTables, Version);
|
||||||
if (!pTables)
|
if (!pTables)
|
||||||
return;
|
return;
|
||||||
|
if (!pTables->GetInfo)
|
||||||
|
{
|
||||||
|
win_skip("GetInfo function missing\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
status = pTables->GetInfo(&PackageInfo);
|
status = pTables->GetInfo(&PackageInfo);
|
||||||
ok(status == STATUS_SUCCESS ||
|
ok(status == STATUS_SUCCESS ||
|
||||||
status == SEC_E_UNSUPPORTED_FUNCTION, /* win2k3 */
|
status == SEC_E_UNSUPPORTED_FUNCTION, /* win2k3 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user