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

This commit is contained in:
Michael Stefaniuc 2007-12-18 23:58:02 +01:00 committed by Alexandre Julliard
parent b774ffe1d2
commit 8537c46c93
1 changed files with 1 additions and 1 deletions

View File

@ -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");