schannel/tests: Relax GetInfo return value test.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2018-02-18 21:06:51 -07:00 committed by Alexandre Julliard
parent a5c6652389
commit b834a9842c
1 changed files with 2 additions and 2 deletions

View File

@ -219,11 +219,11 @@ static void testGetInfo(void)
return; return;
} }
status = pTables->GetInfo(&PackageInfo); status = pTables->GetInfo(&PackageInfo);
ok(status == STATUS_SUCCESS || ok(SUCCEEDED(status) ||
status == SEC_E_UNSUPPORTED_FUNCTION, /* win2k3 */ status == SEC_E_UNSUPPORTED_FUNCTION, /* win2k3 */
"status: 0x%x\n", status); "status: 0x%x\n", status);
if (status == STATUS_SUCCESS) if (SUCCEEDED(status))
{ {
ok(PackageInfo.fCapabilities == LSA_BASE_CAPS || ok(PackageInfo.fCapabilities == LSA_BASE_CAPS ||
PackageInfo.fCapabilities == (LSA_BASE_CAPS|SECPKG_FLAG_APPCONTAINER_PASSTHROUGH), PackageInfo.fCapabilities == (LSA_BASE_CAPS|SECPKG_FLAG_APPCONTAINER_PASSTHROUGH),