[Bug 56305] New: CryptEnumProviders doesn't set pdwProvType when szProvName is NULL
https://bugs.winehq.org/show_bug.cgi?id=56305 Bug ID: 56305 Summary: CryptEnumProviders doesn't set pdwProvType when szProvName is NULL Product: Wine Version: 9.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs(a)winehq.org Reporter: dm.klionsky(a)gmail.com Distribution: --- The call like below doesn't changes dwType. ``` DWORD dwIndex = 0; DWORD dwType = -1; DWORD cbName = -1; CryptEnumProviders(dwIndex, NULL, 0, &dwType, NULL, &cbName); ``` At the same time the call like below does change dwType. ``` CryptEnumProviders(dwIndex, NULL, 0, &dwType, "Microsoft Base Cryptographic Provider v1.0", &cbName); ``` -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56305 --- Comment #1 from Dmitry Klionsky <dm.klionsky(a)gmail.com> --- The whole point of this call ``` CryptEnumProviders(dwIndex, NULL, 0, &dwType, NULL, &cbName); ``` is to iterate over all providers looking for a specific dwType. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56305 --- Comment #2 from Dmitry Klionsky <dm.klionsky(a)gmail.com> --- https://gitlab.winehq.org/wine/wine/-/merge_requests/5046 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla