https://bugs.winehq.org/show_bug.cgi?id=57117
--- Comment #4 from Hans Leidekker hans@meelstraat.net --- (In reply to Dmitry Timoshkov from comment #3)
(In reply to Lars Loe from comment #1)
Only commit in Wine 9.15 release I could find that has something do to with cryptgen is this one:
https://gitlab.winehq.org/wine/wine/-/commit/ 9f0edb69209eb00faac55bbf1a5f605750517201
Can confirm that either reverting this commit or replacing if (!*pdwDataLen) { SetLastError(NTE_BAD_LEN); return FALSE; } by if (!*pdwDataLen) return TRUE; fixes the crash.
I have submitted an MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/6368