ports/irc/hexchat/files/patch-src__common__server.c
Olivier Cochard f404b62eab Update to 2.12.4
PR:		215302
Submitted by:	Piotr Kubaj (maintainer)
Approved by:	tabthorpe
Differential Revision:	https://reviews.freebsd.org/D8805
2016-12-16 13:48:37 +00:00

11 lines
538 B
C

--- 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, "/usr/local/share/certs/ca-root-nss.crt")))
{
EMIT_SIGNAL (XP_TE_CONNFAIL, serv->server_session, err, NULL,
NULL, NULL, 0);