[Asterisk-code-review] Ensure capath is defined on all http creations (asterisk[13])

Joshua Elson asteriskteam at digium.com
Wed Feb 15 14:45:19 CST 2017


Joshua Elson has uploaded a new change for review. ( https://gerrit.asterisk.org/4960 )

Change subject: Ensure capath is defined on all http creations
......................................................................

Ensure capath is defined on all http creations

Change-Id: I9cbc3b6b6a8aab590f5ccde9c262a98e4d5253a1
---
M main/http.c
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/60/4960/1

diff --git a/main/http.c b/main/http.c
index ac5aae1..6d4d3f7 100644
--- a/main/http.c
+++ b/main/http.c
@@ -2098,6 +2098,7 @@
 		ast_free(http_tls_cfg.certfile);
 	}
 	http_tls_cfg.certfile = ast_strdup(AST_CERTFILE);
+        http_tls_cfg.capath = ast_strdup("");
 
 	if (http_tls_cfg.pvtfile) {
 		ast_free(http_tls_cfg.pvtfile);

-- 
To view, visit https://gerrit.asterisk.org/4960
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9cbc3b6b6a8aab590f5ccde9c262a98e4d5253a1
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Elson <joshelson at gmail.com>



More information about the asterisk-code-review mailing list