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

Joshua Elson asteriskteam at digium.com
Wed Feb 15 14:48:37 CST 2017


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

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

Ensure capath is defined on all http creations

ASTERISK-26794 #close

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


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/63/4963/1

diff --git a/main/http.c b/main/http.c
index 5f57b1e..aa6846d 100644
--- a/main/http.c
+++ b/main/http.c
@@ -2060,6 +2060,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/4963
To unsubscribe, visit https://gerrit.asterisk.org/settings

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



More information about the asterisk-code-review mailing list