freebsd-ports/irc/hexchat/files/patch-src__common__server.c
Steve Wills 0bf1d0c81f irc/hexchat: update to 2.14.2
PR:		231061
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl> (maintainer)
2018-09-03 13:12:27 +00:00

11 lines
464 B
C

--- src/common/server.c.orig 2018-08-29 16:41:08 UTC
+++ src/common/server.c
@@ -748,7 +748,7 @@ server_connect_success (server *serv)
/* it'll be a memory leak, if connection isn't terminated by
server_cleanup() */
- if ((err = _SSL_set_verify (serv->ctx, ssl_cb_verify, NULL)))
+ if ((err = _SSL_set_verify (serv->ctx, ssl_cb_verify, "%%CA_BUNDLE%%")))
{
EMIT_SIGNAL (XP_TE_CONNFAIL, serv->server_session, err, NULL,
NULL, NULL, 0);