schannel: Fix a test that fails in win2k3.

This commit is contained in:
James Hawkins 2008-04-26 01:00:50 -05:00 committed by Alexandre Julliard
parent 404afbaa3c
commit 31ba40fc92
1 changed files with 13 additions and 7 deletions

View File

@ -156,7 +156,12 @@ static void testGetInfo(void)
if (!pTables)
return;
status = pTables->GetInfo(&PackageInfo);
ok(status == STATUS_SUCCESS, "status: 0x%x\n", status);
ok(status == STATUS_SUCCESS ||
status == SEC_E_UNSUPPORTED_FUNCTION, /* win2k3 */
"status: 0x%x\n", status);
if (status == STATUS_SUCCESS)
{
ok(PackageInfo.fCapabilities == 0x107b3, "fCapabilities: 0x%lx\n",
PackageInfo.fCapabilities);
ok(PackageInfo.wVersion == 1, "wVersion: %d\n", PackageInfo.wVersion);
@ -164,6 +169,7 @@ static void testGetInfo(void)
ok(PackageInfo.cbMaxToken == 0x4000, "cbMaxToken: 0x%lx\n",
PackageInfo.cbMaxToken);
}
}
START_TEST(main)
{