http://bugs.winehq.org/show_bug.cgi?id=20358
--- Comment #11 from Juan Lang juan_lang@yahoo.com 2009-10-20 14:28:50 --- (In reply to comment #10)
This fixes one of the failures for me. CryptExportPublicKeyInfoEx was failing, because CryptGetUserKey was failing. The CryptGenKey call was generating a key, but not storing it in the provider. Frankly, I have no idea why it wasn't doing so before, or whether this is even the correct fix.
The initial checkin of rsaenh was storing the key, but it was removed to doing so only conditionally in the fourth commit: http://source.winehq.org/git/wine.git/?a=commit;h=95c3d9b2a561e67c2a9460fc0f...
Tests would probably help.