Skip to content
Snippets Groups Projects
Commit e3e2805b authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard
Browse files

bcrypt: Accept NULL implementation in BCryptOpenAlgorithmProvider.

parent fcc977c1
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment