rsaenh/tests: Mark an old behavior as broken (PVS-Studio).
All newer Windows support salt in their AES provider. Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bcff50a9d4
commit
899207b6c9
|
@ -1166,8 +1166,8 @@ static void test_aes(int keylen)
|
|||
|
||||
/* Does AES provider support salt? */
|
||||
result = CryptGetKeyParam(hKey, KP_SALT, NULL, &dwLen, 0);
|
||||
ok((!result && GetLastError() == NTE_BAD_KEY) || result /* Win7 */,
|
||||
"expected NTE_BAD_KEY, got %08x\n", GetLastError());
|
||||
todo_wine ok(result || broken(GetLastError() == NTE_BAD_KEY), /* Vista or older */
|
||||
"Expected OK, got last error %d\n", GetLastError());
|
||||
if (result)
|
||||
ok(!dwLen, "unexpected salt length %d\n", dwLen);
|
||||
|
||||
|
|
Loading…
Reference in New Issue