Module: kamailio Branch: master Commit: 7c61d3f82bd0779a530f921bd69cd4b1b32e4e05 URL: https://github.com/kamailio/kamailio/commit/7c61d3f82bd0779a530f921bd69cd4b1...
Author: Victor Seva linuxmaniac@torreviejawireless.org Committer: Victor Seva linuxmaniac@torreviejawireless.org Date: 2017-12-26T21:34:24+01:00
http_async_client: fix initialization of tls_client_* and tls_ca_path module parameters
fixes #1340
---
Modified: src/modules/http_async_client/http_async_client_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/7c61d3f82bd0779a530f921bd69cd4b1... Patch: https://github.com/kamailio/kamailio/commit/7c61d3f82bd0779a530f921bd69cd4b1...
---
diff --git a/src/modules/http_async_client/http_async_client_mod.c b/src/modules/http_async_client/http_async_client_mod.c index 1799a05fb6..ad5fcc6d2c 100644 --- a/src/modules/http_async_client/http_async_client_mod.c +++ b/src/modules/http_async_client/http_async_client_mod.c @@ -71,9 +71,9 @@ int tls_version = 0; // Use default SSL version in HTTPS requests (see curl/curl int tls_verify_host = 1; // By default verify host in HTTPS requests int tls_verify_peer = 1; // By default verify peer in HTTPS requests int curl_verbose = 0; -char* tls_client_cert = ""; // client SSL certificate path, defaults to NULL -char* tls_client_key = ""; // client SSL certificate key path, defaults to NULL -char* tls_ca_path = ""; // certificate authority dir path, defaults to NULL +char* tls_client_cert = NULL; // client SSL certificate path, defaults to NULL +char* tls_client_key = NULL; // client SSL certificate key path, defaults to NULL +char* tls_ca_path = NULL; // certificate authority dir path, defaults to NULL static char *memory_manager = "shm"; extern int curl_memory_manager; unsigned int default_authmethod = CURLAUTH_BASIC | CURLAUTH_DIGEST;