Michael Stefaniuc : secur32/tests: InitFunctionPtrs() needs to use the global crypt32dll variable.

Alexandre Julliard julliard at winehq.org
Wed Dec 19 06:58:19 CST 2007


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Dec 18 23:58:02 2007 +0100

secur32/tests: InitFunctionPtrs() needs to use the global crypt32dll variable.

---

 dlls/secur32/tests/schannel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/secur32/tests/schannel.c b/dlls/secur32/tests/schannel.c
index 3d3eb7f..dec9368 100644
--- a/dlls/secur32/tests/schannel.c
+++ b/dlls/secur32/tests/schannel.c
@@ -106,8 +106,8 @@ static const BYTE selfSignedCert[] = {
 static void InitFunctionPtrs(void)
 {
     HMODULE advapi32dll = GetModuleHandleA("advapi32.dll");
-    HMODULE crypt32dll = LoadLibraryA("crypt32.dll");
 
+    crypt32dll = LoadLibraryA("crypt32.dll");
     secdll = LoadLibraryA("secur32.dll");
     if(!secdll)
         secdll = LoadLibraryA("security.dll");




More information about the wine-cvs mailing list