Bruno Jesus : bcrypt: Add a stub for BCryptCloseAlgorithmProvider.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jun 25 13:42:03 CDT 2014


Module: wine
Branch: master
Commit: c8c609b59dec2482abfe401414f06a80378834c4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c8c609b59dec2482abfe401414f06a80378834c4

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Tue Jun 24 23:53:42 2014 -0300

bcrypt: Add a stub for BCryptCloseAlgorithmProvider.

---

 dlls/bcrypt/bcrypt.spec   | 2 +-
 dlls/bcrypt/bcrypt_main.c | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/dlls/bcrypt/bcrypt.spec b/dlls/bcrypt/bcrypt.spec
index 185f950..3b154f5 100644
--- a/dlls/bcrypt/bcrypt.spec
+++ b/dlls/bcrypt/bcrypt.spec
@@ -1,6 +1,6 @@
 @ stub BCryptAddContextFunction
 @ stub BCryptAddContextFunctionProvider
-@ stub BCryptCloseAlgorithmProvider
+@ stdcall BCryptCloseAlgorithmProvider(ptr long)
 @ stub BCryptConfigureContext
 @ stub BCryptConfigureContextFunction
 @ stub BCryptCreateContext
diff --git a/dlls/bcrypt/bcrypt_main.c b/dlls/bcrypt/bcrypt_main.c
index ee203a6..5ccb9f1 100644
--- a/dlls/bcrypt/bcrypt_main.c
+++ b/dlls/bcrypt/bcrypt_main.c
@@ -90,3 +90,10 @@ NTSTATUS WINAPI BCryptOpenAlgorithmProvider(BCRYPT_ALG_HANDLE *algorithm, LPCWST
 
     return STATUS_NOT_IMPLEMENTED;
 }
+
+NTSTATUS WINAPI BCryptCloseAlgorithmProvider(BCRYPT_ALG_HANDLE algorithm, DWORD flags)
+{
+    FIXME("%p, %08x - stub\n", algorithm, flags);
+
+    return STATUS_NOT_IMPLEMENTED;
+}




More information about the wine-cvs mailing list