Hans Leidekker : bcrypt: Accept NULL implementation in BCryptOpenAlgorithmProvider.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 20 10:50:02 CST 2016
Module: wine
Branch: master
Commit: e3e2805b25a7264674a865e395bbb48da8629e9a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e3e2805b25a7264674a865e395bbb48da8629e9a
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed Jan 20 14:51:43 2016 +0100
bcrypt: Accept NULL implementation in BCryptOpenAlgorithmProvider.
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
More information about the wine-cvs
mailing list