mirror of
https://github.com/reactos/wine.git
synced 2025-03-03 02:05:48 +00:00
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);
|
||||
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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user