[2/4] rsaenh: Fixing a testfailure because Win7 seems to support salt with AES

Juan Lang juan.lang at gmail.com
Fri Apr 30 12:52:56 CDT 2010


Hi Andre, I don't object to this patch per se, but:
-    ok(!result && (GetLastError() == NTE_BAD_KEY || GetLastError() ==
ERROR_NO_TOKEN /* Win7 */),
-       "expected NTE_BAD_KEY or ERROR_NO_TOKEN, got %08x\n", GetLastError());
+    todo_wine ok(broken(!result && GetLastError() == NTE_BAD_KEY) ||
result /* Win7 */,
+                 "CryptGetKeyParam failed, got %08x\n", GetLastError());

Why don't you fix rsaenh while you're at it?  It'd be an exceedingly
easy patch.  Look for KP_SALT in rsaenh.c, and you'll see what I mean.
--Juan



More information about the wine-devel mailing list