diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-16 22:59:10 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-16 22:59:10 +0300 |
commit | 89979c595a7711925499db9045cdc25e330b9f36 (patch) | |
tree | 6d8328802e5217d48e65473d57dd9a8f3f5b8419 /plugins/OpenSSL/src/main.cpp | |
parent | 4269a726e3ca96a1676d35600f32c29ae5e120a6 (diff) |
OpenSSL: dynamic dll loading removed
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;
|