http://bugs.winehq.org/show_bug.cgi?id=29721
--- Comment #3 from Anastasius Focht focht@gmx.net 2012-01-29 10:56:41 CST --- Hello André,
--- quote --- Hi Anastasius, does an error returning stub helps? --- quote ---
after adding a stub with E_FAIL it runs into next unimplemented stub(s):
--- snip --- $ wine ./makecert.exe foo ... fixme:mssign:PvkGetCryptProv stub (0, L"Subject Key", (null), 1, (null), L"JoeSoft", 0x1009658, 0x1009658, 0x32fbf4) wine: Call from 0x7b83924f to unimplemented function mssign32.dll.PvkPrivateKeyAcquireContextFromMemory, aborting wine: Unimplemented function mssign32.dll.PvkPrivateKeyAcquireContextFromMemory called at address 0x7b83924f (thread 0009), starting debugger... --- snip ---
The tool needs following stubs that make it not crash:
mssign32.dll.PvkGetCryptProv mssign32.dll.PvkPrivateKeyAcquireContextFromMemory mssign32.dll.PvkFreeCryptProv
--- snip --- $ WINEDEBUG=+tid,+mssign wine ./makecert.exe foo ... 002d:fixme:mssign:PvkGetCryptProv stub (0, L"Subject Key", (null), 1, (null), L"JoeSoft", 0x1009658, 0x1009658, 0x32fbf4) Error: Can't create the key of the subject ('JoeSoft') 002d:fixme:mssign:PvkFreeCryptProv stub ((nil), (null), 1, (null)) Failed 002d:err:ole:CoUninitialize Mismatched CoUninitialize --- snip ---
Regards