https://bugs.winehq.org/show_bug.cgi?id=34829
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Looks like we keep talking about different things. So:
--- CRYPT_PROVIDER_DATA data = { 0 }; WINTRUST_DATA wintrust_data = { 0 }; WINTRUST_CERT_INFO certInfo = { sizeof(WINTRUST_CERT_INFO), 0 }; WINTRUST_FILE_INFO fileInfo = { sizeof(WINTRUST_FILE_INFO), 0 }; ---
here two last structs have size field initialized while first 'data' variable has not. I was talking about that 'data', that maybe it should be { sizeof(CRYPT_PROVIDER_DATA) } instead of { 0 }.