secur32/tests: Remove win9x hacks.

This commit is contained in:
Austin English 2011-02-28 13:05:45 -08:00 committed by Alexandre Julliard
parent f7571743c9
commit 9c84bfa9a4
1 changed files with 3 additions and 5 deletions

View File

@ -198,14 +198,12 @@ static void test_InitSecurityInterface(void)
sftA = pInitSecurityInterfaceA();
ok(sftA != NULL, "pInitSecurityInterfaceA failed\n");
ok(sftA->dwVersion == SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION, "wrong dwVersion %d in security function table\n", sftA->dwVersion);
ok(!sftA->Reserved2 || broken(sftA->Reserved2 != NULL) /* WinME */,
ok(!sftA->Reserved2,
"Reserved2 should be NULL instead of %p in security function table\n",
sftA->Reserved2);
ok(sftA->Reserved3 == sftA->EncryptMessage ||
broken(sftA->Reserved3 != sftA->EncryptMessage) /* Win9x */,
ok(sftA->Reserved3 == sftA->EncryptMessage,
"Reserved3 should be equal to EncryptMessage in the security function table\n");
ok(sftA->Reserved4 == sftA->DecryptMessage ||
broken(sftA->Reserved4 != sftA->DecryptMessage) /* Win9x */,
ok(sftA->Reserved4 == sftA->DecryptMessage,
"Reserved4 should be equal to DecryptMessage in the security function table\n");
if (!pInitSecurityInterfaceW)