summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-01-01 01:55:52 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-01-01 02:00:02 +0100
commit28fec6d4a6a30e2fdb5394e90673e60f7c46234b (patch)
treef232caa146eeb35e17246e075e7bb95c75301cc3
parent1a73f1f1d777de05d9263cc046d76436d52cc816 (diff)
downloadxK-28fec6d4a6a30e2fdb5394e90673e60f7c46234b.tar.gz
xK-28fec6d4a6a30e2fdb5394e90673e60f7c46234b.tar.xz
xK-28fec6d4a6a30e2fdb5394e90673e60f7c46234b.zip
ZyklonB: fix tls_ca_{path,file} config. options
-rw-r--r--zyklonb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zyklonb.c b/zyklonb.c
index 053130a..a99038d 100644
--- a/zyklonb.c
+++ b/zyklonb.c
@@ -326,8 +326,8 @@ irc_initialize_ssl_ctx (struct bot_context *ctx, struct error **e)
SSL_CTX_set_verify (ctx->ssl_ctx,
verify ? SSL_VERIFY_PEER : SSL_VERIFY_NONE, NULL);
- const char *ca_file = str_map_find (&ctx->config, "ca_file");
- const char *ca_path = str_map_find (&ctx->config, "ca_path");
+ const char *ca_file = str_map_find (&ctx->config, "tls_ca_file");
+ const char *ca_path = str_map_find (&ctx->config, "tls_ca_path");
struct error *error = NULL;
if (ca_file || ca_path)