Re: [PATCH] bcrypt: Add stub for BCryptOpenAlgorithmProvider.
29 Apr
2014
29 Apr
'14
7:47 p.m.
Alex Henrie <alexhenrie24(a)gmail.com> wrote:
+@ stdcall BCryptOpenAlgorithmProvider(ptr ptr ptr long)
It should be (ptr wstr wstr long)
+NTSTATUS WINAPI BCryptOpenAlgorithmProvider(BCRYPT_ALG_HANDLE *phAlgorithm, LPCWSTR pszAlgId, + LPCWSTR pszImplementation, DWORD dwFlags) +{ + FIXME("%p, %s, %s, %08x - stub\n", phAlgorithm, wine_dbgstr_w(pszAlgId), wine_dbgstr_w(pszImplementation), dwFlags); + + *phAlgorithm = NULL; + + return STATUS_NOT_IMPLEMENTED; +}
Probably there should be a test for NULL before writing to *phAlgorithm. Also please avoid using hungarian notation for variable naming in Wine. -- Dmitry.
4243
Age (days ago)
4243
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov