diff options
author | TingPing <tingping@tingping.se> | 2014-10-22 05:24:29 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-11-05 01:27:39 -0500 |
commit | 4b6215051f1d3b484e32dc95e33d83202bd89959 (patch) | |
tree | 38f13abe18a40c2674e996074094862fc641f526 /src/common/hexchat.c | |
parent | f83d78dd2801c7e4bee406379d3119f8852cf297 (diff) |
ssl: Don't use global openssl context
Fixes #789
Diffstat (limited to 'src/common/hexchat.c')
-rw-r--r-- | src/common/hexchat.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/common/hexchat.c b/src/common/hexchat.c index 09afa445..fde6d108 100644 --- a/src/common/hexchat.c +++ b/src/common/hexchat.c @@ -55,11 +55,6 @@ #include <glib-object.h> /* for g_type_init() */ #endif -#ifdef USE_OPENSSL -#include <openssl/ssl.h> /* SSL_() */ -#include "ssl.h" -#endif - #ifdef USE_MSPROXY #include "msproxy.h" #endif @@ -118,10 +113,6 @@ struct session *current_tab; struct session *current_sess = 0; struct hexchatprefs prefs; -#ifdef USE_OPENSSL -SSL_CTX *ctx = NULL; -#endif - #ifdef USE_LIBPROXY pxProxyFactory *libproxy_factory; #endif @@ -1114,11 +1105,6 @@ main (int argc, char *argv[]) px_proxy_factory_free(libproxy_factory); #endif -#ifdef USE_OPENSSL - if (ctx) - _SSL_context_free (ctx); -#endif - #ifdef WIN32 WSACleanup (); #endif |