diff options
Diffstat (limited to 'plugins/OpenSSL/src/main.cpp')
-rw-r--r-- | plugins/OpenSSL/src/main.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/plugins/OpenSSL/src/main.cpp b/plugins/OpenSSL/src/main.cpp index 7f03981446..e523acc96d 100644 --- a/plugins/OpenSSL/src/main.cpp +++ b/plugins/OpenSSL/src/main.cpp @@ -23,26 +23,6 @@ with this program; if not, write to the Free Software Foundation, Inc., int LoadSslModule(void);
void UnloadSslModule(void);
-HMODULE g_hOpenSSL;
-HMODULE g_hOpenSSLCrypto;
-HMODULE g_hWinCrypt;
-
-FARPROC WINAPI delayHook(unsigned dliNotify, PDelayLoadInfo dli)
-{
- switch (dliNotify) {
- case dliNotePreLoadLibrary:
- if (!strcmpi(dli->szDll, "libeay32.dll"))
- return (FARPROC)g_hOpenSSLCrypto;
- else if (!strcmpi(dli->szDll, "ssleay32.dll"))
- return (FARPROC)g_hOpenSSL;
- else if (!strcmpi(dli->szDll, "crypt32.dll"))
- return (FARPROC)g_hWinCrypt;
- }
- return NULL;
-}
-
-extern "C" PfnDliHook __pfnDliNotifyHook2 = delayHook;
-
HINSTANCE hInst;
int hLangpack;
|