rsaenh: fix bug in RSAENH_CPGetProvParam (corrected)

Juan Lang juan_lang at
Tue May 8 19:29:28 CDT 2007

Hi Mounir,

+        case PP_KEYSTORAGE:
+            dwTemp = CRYPT_SEC_DESCR;

This looks fine..

+    result = CryptGetProvParam(prov, PP_KEYSTORAGE, (LPBYTE)&dwParam,
&dataLen, 0);
+    ok(result && dataLen == sizeof(dwParam) && (dwParam ==
+        "Expected CRYPT_SEC_DESCR to be set, got 0x%08X\n",dwParam);    

but this test will now fail on Win9x, yes?

A simple fix would be to check (dwParam & CRYPT_SEC_DESCR) rather than
(dwParam == CRYPT_SEC_DESCR).


Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos. 

More information about the wine-devel mailing list