mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-11 17:17:17 +00:00
rsaenh/tests: Fix a test failure on W2K and below.
This commit is contained in:
parent
5da0debbe6
commit
87e7c72f26
|
@ -831,8 +831,11 @@ static void test_rc2(void)
|
||||||
ok(result, "setting salt failed for size %d: %08x\n", i, GetLastError());
|
ok(result, "setting salt failed for size %d: %08x\n", i, GetLastError());
|
||||||
}
|
}
|
||||||
salt.cbData = 25;
|
salt.cbData = 25;
|
||||||
|
SetLastError(0xdeadbeef);
|
||||||
result = CryptSetKeyParam(hKey, KP_SALT_EX, (BYTE *)&salt, 0);
|
result = CryptSetKeyParam(hKey, KP_SALT_EX, (BYTE *)&salt, 0);
|
||||||
ok(!result, "%08x\n", GetLastError());
|
ok(!result ||
|
||||||
|
broken(result), /* Win9x, WinMe, NT4, W2K */
|
||||||
|
"%08x\n", GetLastError());
|
||||||
|
|
||||||
result = CryptDestroyKey(hKey);
|
result = CryptDestroyKey(hKey);
|
||||||
ok(result, "%08x\n", GetLastError());
|
ok(result, "%08x\n", GetLastError());
|
||||||
|
|
Loading…
Reference in a new issue