ZyklonB: fix tls_ca_{path,file} config. options
This commit is contained in:
parent
1a73f1f1d7
commit
28fec6d4a6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user