forked from Mirrors/wine-wine
bcrypt: Add stub for BCryptOpenAlgorithmProvider.
parent
7c029e02ae
commit
d5f1841417
|
@ -32,7 +32,7 @@
|
||||||
@ stub BCryptHashData
|
@ stub BCryptHashData
|
||||||
@ stub BCryptImportKey
|
@ stub BCryptImportKey
|
||||||
@ stub BCryptImportKeyPair
|
@ stub BCryptImportKeyPair
|
||||||
@ stub BCryptOpenAlgorithmProvider
|
@ stdcall BCryptOpenAlgorithmProvider(ptr wstr wstr long)
|
||||||
@ stub BCryptQueryContextConfiguration
|
@ stub BCryptQueryContextConfiguration
|
||||||
@ stub BCryptQueryContextFunctionConfiguration
|
@ stub BCryptQueryContextFunctionConfiguration
|
||||||
@ stub BCryptQueryContextFunctionProperty
|
@ stub BCryptQueryContextFunctionProperty
|
||||||
|
|
|
@ -91,3 +91,16 @@ NTSTATUS WINAPI BCryptGenRandom(BCRYPT_ALG_HANDLE algorithm, UCHAR *buffer, ULON
|
||||||
FIXME("called with unsupported parameters, returning error\n");
|
FIXME("called with unsupported parameters, returning error\n");
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NTSTATUS WINAPI BCryptOpenAlgorithmProvider(BCRYPT_ALG_HANDLE *algorithm, LPCWSTR algorithmId,
|
||||||
|
LPCWSTR implementation, DWORD flags)
|
||||||
|
{
|
||||||
|
FIXME("%p, %s, %s, %08x - stub\n", algorithm, wine_dbgstr_w(algorithmId), wine_dbgstr_w(implementation), flags);
|
||||||
|
|
||||||
|
if (!algorithm)
|
||||||
|
return STATUS_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
*algorithm = NULL;
|
||||||
|
|
||||||
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue