From 28fec6d4a6a30e2fdb5394e90673e60f7c46234b Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Fri, 1 Jan 2016 01:55:52 +0100
Subject: ZyklonB: fix tls_ca_{path,file} config. options
---
zyklonb.c | 4 ++--
1 file 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)
--
cgit v1.2.3-70-g09d2