Module: wine Branch: master Commit: e3e2805b25a7264674a865e395bbb48da8629e9a URL: http://source.winehq.org/git/wine.git/?a=commit;h=e3e2805b25a7264674a865e395...
Author: Hans Leidekker hans@codeweavers.com Date: Wed Jan 20 14:51:43 2016 +0100
bcrypt: Accept NULL implementation in BCryptOpenAlgorithmProvider.
Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/bcrypt/bcrypt_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/bcrypt/bcrypt_main.c b/dlls/bcrypt/bcrypt_main.c index fdd6911..6393d59 100644 --- a/dlls/bcrypt/bcrypt_main.c +++ b/dlls/bcrypt/bcrypt_main.c @@ -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;