Commit e3e2805b authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

bcrypt: Accept NULL implementation in BCryptOpenAlgorithmProvider.

parent fcc977c1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment