Commit b9ae777d authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

secur32: Fix a handful of test failures on Win9x.

parent 486e66ed
......@@ -102,9 +102,15 @@ 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, "Reserved2 should be NULL instead of %p in security function table\n", sftA->Reserved2);
ok(sftA->Reserved3 == sftA->EncryptMessage, "Reserved3 should be equal to EncryptMessage in the security function table\n");
ok(sftA->Reserved4 == sftA->DecryptMessage, "Reserved4 should be equal to DecryptMessage in the security function table\n");
ok(!sftA->Reserved2 || broken(sftA->Reserved2 != NULL) /* WinME */,
"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 */,
"Reserved3 should be equal to EncryptMessage in the security function table\n");
ok(sftA->Reserved4 == sftA->DecryptMessage ||
broken(sftA->Reserved4 != sftA->DecryptMessage) /* Win9x */,
"Reserved4 should be equal to DecryptMessage in the security function table\n");
if (!pInitSecurityInterfaceW)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment