Re: [PATCH v2 0/1] MR5046: advapi32: CryptEnumProviders doesn't return pdwProvType when szProvName is NULL.
20 Feb
2024
20 Feb
'24
10:36 a.m.
Hans Leidekker (@hans) commented about dlls/advapi32/crypt.c:
}
RegEnumKeyExW(hKey, dwIndex, provNameW, pcbProvName, NULL, NULL, NULL, NULL); + + if (pdwProvType) + { + HKEY hSubkey; + DWORD size = sizeof(DWORD); + + RegOpenKeyW(hKey, provNameW, &hSubkey); + RegQueryValueExW(hSubkey, L"Type", NULL, NULL, (BYTE*)pdwProvType, &size);
You should check these calls for failure. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5046#note_62022
744
Age (days ago)
744
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hans Leidekker (@hans)