https://bugs.winehq.org/show_bug.cgi?id=39333
--- Comment #5 from PB phaseburn@phaseburn.net --- (In reply to Marcus Meissner from comment #4)
Created attachment 52413 [details] 0002-bcrypt-BCryptCreateHash-stub.patch
trivial stub.
however it will either lead to a crash or the next missing function.
I rarely if ever take pleasure in telling people that they are wrong, but, you, my friend, are totally wrong and I couldn't be happier. The trivial stub has corrected the issue - it would appear that the nonsense it returns is non-fatal and the app keeps running instead of crashing.
Logs of it invoking the stub function are as follows:
fixme:bcrypt:BCryptOpenAlgorithmProvider 0x1627e1dc, L"SHA256", L"Microsoft Primitive Provider", 00000000 - stub fixme:bcrypt:BCryptCreateHash (nil), 0x1627e200, 0x1e3e828, 2909090752, (nil), 0, 00000000 - stub fixme:bcrypt:BCryptOpenAlgorithmProvider 0x1627e1a4, L"SHA256", L"Microsoft Primitive Provider", 00000000 - stub fixme:bcrypt:BCryptCreateHash (nil), 0x1627e1c8, 0x1627e1e0, 0, (nil), 0, 00000000 - stub fixme:bcrypt:BCryptOpenAlgorithmProvider 0x1627e168, L"SHA256", L"Microsoft Primitive Provider", 00000008 - stub fixme:bcrypt:BCryptCreateHash (nil), 0x1627e1a8, 0x3d1ad8c0, 371712664, 0x21d3af00, 44, 00000000 - stub fixme:bcrypt:BCryptOpenAlgorithmProvider 0x1627e168, L"SHA256", L"Microsoft Primitive Provider", 00000008 - stub fixme:bcrypt:BCryptCreateHash (nil), 0x1627e1a8, 0x3d1ad8c0, 371712664, (nil), 0, 00000000 - stub fixme:bcrypt:BCryptOpenAlgorithmProvider 0x1627e168, L"SHA256", L"Microsoft Primitive Provider", 00000008 - stub fixme:bcrypt:BCryptCreateHash (nil), 0x1627e1a8, 0x3d1ad8c0, 371712664, (nil), 0, 00000000 - stub fixme:bcrypt:BCryptOpenAlgorithmProvider 0x1627e168, L"SHA256", L"Microsoft Primitive Provider", 00000008 - stub fixme:bcrypt:BCryptCreateHash (nil), 0x1627e1a8, 0x3d1ad8c0, 371712664, (nil), 0, 00000000 - stub fixme:bcrypt:BCryptOpenAlgorithmProvider 0x1627e1dc, L"SHA256", L"Microsoft Primitive Provider", 00000008 - stub fixme:bcrypt:BCryptCreateHash (nil), 0x1627e21c, 0x1ced4e0, 0, (nil), 0, 00000000 - stub