aboutsummaryrefslogtreecommitdiff
path: root/irc/hexchat/files/patch-src__common__server.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc/hexchat/files/patch-src__common__server.c')
-rw-r--r--irc/hexchat/files/patch-src__common__server.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/irc/hexchat/files/patch-src__common__server.c b/irc/hexchat/files/patch-src__common__server.c
index 725ae96f033b..f9189abceb83 100644
--- a/irc/hexchat/files/patch-src__common__server.c
+++ b/irc/hexchat/files/patch-src__common__server.c
@@ -1,11 +1,11 @@
---- src/common/server.c.orig 2014-11-25 18:42:31.000000000 +0100
-+++ src/common/server.c 2015-05-21 15:48:24.162789182 +0200
-@@ -875,7 +875,7 @@
+--- src/common/server.c.orig 2016-12-10 14:30:51 UTC
++++ src/common/server.c
+@@ -743,7 +743,7 @@ server_connect_success (server *serv)
/* it'll be a memory leak, if connection isn't terminated by
server_cleanup() */
serv->ssl = _SSL_socket (serv->ctx, serv->sok);
- if ((err = _SSL_set_verify (serv->ctx, ssl_cb_verify, NULL)))
-+ if ((err = _SSL_set_verify (serv->ctx, ssl_cb_verify, %%CA_BUNDLE%%)))
++ if ((err = _SSL_set_verify (serv->ctx, ssl_cb_verify, "/usr/local/share/certs/ca-root-nss.crt")))
{
EMIT_SIGNAL (XP_TE_CONNFAIL, serv->server_session, err, NULL,
NULL, NULL, 0);