bcrypt: Accept NULL implementation in BCryptOpenAlgorithmProvider.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fcc977c139
commit
e3e2805b25
|
@ -209,7 +209,7 @@ NTSTATUS WINAPI BCryptOpenAlgorithmProvider( BCRYPT_ALG_HANDLE *handle, LPCWSTR
|
|||
FIXME( "algorithm %s not supported\n", debugstr_w(id) );
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
if (!implementation || strcmpW( implementation, MS_PRIMITIVE_PROVIDER ))
|
||||
if (implementation && strcmpW( implementation, MS_PRIMITIVE_PROVIDER ))
|
||||
{
|
||||
FIXME( "implementation %s not supported\n", debugstr_w(implementation) );
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
|
|
Loading…
Reference in New Issue