summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn.cpp
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2016-03-24 19:02:54 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2016-03-24 19:02:54 +0000
commit49df455909f265452893494c7ffedf2298d6206d (patch)
tree674e98178e930839d08fc3b1a5d5ab1855b19643 /protocols/MSN/src/msn.cpp
parentdb183102066ebd069f7668b06b6cd58812674e81 (diff)
MSN: Only loading OpenSSL lib for login, so that there is no waste of memory if tokens are already present
Added logging for skylogin. git-svn-id: http://svn.miranda-ng.org/main/trunk@16536 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn.cpp')
-rw-r--r--protocols/MSN/src/msn.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/MSN/src/msn.cpp b/protocols/MSN/src/msn.cpp
index 37b288cbf5..ae71843bd2 100644
--- a/protocols/MSN/src/msn.cpp
+++ b/protocols/MSN/src/msn.cpp
@@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "version.h"
CLIST_INTERFACE *pcli;
-HINSTANCE g_hInst, g_hOpenssl;
+HINSTANCE g_hInst, g_hOpenssl = NULL;
int hLangpack;
/////////////////////////////////////////////////////////////////////////////////////////
@@ -105,8 +105,6 @@ extern "C" int __declspec(dllexport) Load(void)
mir_getLP(&pluginInfo);
mir_getCLI();
- g_hOpenssl = LoadLibraryA("libeay32.dll");
-
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
PROTOCOLDESCRIPTOR pd = { 0 };