Skip to content

advapi32: CryptEnumProviders doesn't return pdwProvType when szProvName is NULL.

Dmitry Klionsky requested to merge ten0s/wine:master into master

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56305

The call like below doesn't changes dwType.

DWORD       dwIndex = 0;
DWORD       dwType = -1;
DWORD       cbName = -1;

CryptEnumProviders(dwIndex, NULL, 0, &dwType, NULL, &cbName);

The whole point of the call is to iterate over all providers looking for a specific dwType.

Edited by Dmitry Klionsky

Merge request reports

Loading