[Asterisk-code-review] pjsip: Add TLS transport reload support for certificate and key. (asterisk[16])

Sean Bright asteriskteam at digium.com
Thu Aug 25 10:53:41 CDT 2022


Attention is currently required from: Joshua Colp.
Sean Bright has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/18987 )

Change subject: pjsip: Add TLS transport reload support for certificate and key.
......................................................................


Patch Set 1: Code-Review-1

(3 comments)

File res/res_pjsip/config_transport.c:

https://gerrit.asterisk.org/c/asterisk/+/18987/comment/851213ca_14c5ed2b 
PS1, Line 603:                 }
Leading whitespace.


https://gerrit.asterisk.org/c/asterisk/+/18987/comment/a18e6e71_9a248c87 
PS1, Line 797: 		ast_log(LOG_ERROR, "Failed to stat certificate file '%s' for transport '%s'\n",
             : 				var->value, ast_sorcery_object_get_id(obj));
stat() sets errno, so throw in a strerror() here?


https://gerrit.asterisk.org/c/asterisk/+/18987/comment/754ba189_fadbe22e 
PS1, Line 808: 		ast_log(LOG_ERROR, "Failed to stat private key file '%s' for transport '%s'\n",
             : 				var->value, ast_sorcery_object_get_id(obj));
stat() sets errno, so throw in a strerror() here?



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18987
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I9bc95a6bf791830a9491ad9fa43c17d4010028d0
Gerrit-Change-Number: 18987
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-Attention: Joshua Colp <jcolp at sangoma.com>
Gerrit-Comment-Date: Thu, 25 Aug 2022 15:53:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220825/71f9451a/attachment.html>


More information about the asterisk-code-review mailing list