0bf1d0c81f
PR: 231061 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> (maintainer)
11 lines
464 B
C
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);
|