Commit 899207b6 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

rsaenh/tests: Mark an old behavior as broken (PVS-Studio).

All newer Windows support salt in their AES provider. Signed-off-by: 's avatarMichael Stefaniuc <mstefani@redhat.de> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent bcff50a9
......@@ -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);
......
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