secur32/tests: InitFunctionPtrs() needs to use the global crypt32dll variable.
This commit is contained in:
parent
b774ffe1d2
commit
8537c46c93
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue