Commit 8537c46c authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent b774ffe1
...@@ -106,8 +106,8 @@ static const BYTE selfSignedCert[] = { ...@@ -106,8 +106,8 @@ static const BYTE selfSignedCert[] = {
static void InitFunctionPtrs(void) static void InitFunctionPtrs(void)
{ {
HMODULE advapi32dll = GetModuleHandleA("advapi32.dll"); HMODULE advapi32dll = GetModuleHandleA("advapi32.dll");
HMODULE crypt32dll = LoadLibraryA("crypt32.dll");
crypt32dll = LoadLibraryA("crypt32.dll");
secdll = LoadLibraryA("secur32.dll"); secdll = LoadLibraryA("secur32.dll");
if(!secdll) if(!secdll)
secdll = LoadLibraryA("security.dll"); secdll = LoadLibraryA("security.dll");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment