[Asterisk-code-review] res_stir_shaken: Implemented signature verification. (asterisk[master])

Kevin Harwell asteriskteam at digium.com
Thu Apr 23 10:54:41 CDT 2020


Kevin Harwell has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/14220 )

Change subject: res_stir_shaken: Implemented signature verification.
......................................................................


Patch Set 4:

(1 comment)

https://gerrit.asterisk.org/c/asterisk/+/14220/4/res/res_stir_shaken.c 
File res/res_stir_shaken.c:

https://gerrit.asterisk.org/c/asterisk/+/14220/4/res/res_stir_shaken.c@395 
PS4, Line 395: snprintf(file_path, sizeof(file_path), "%s", default_path);
             : 
             : 		/* We should have a successful download at this point, so
             : 		 * add an entry to the database.
             : 		 */
             : 		add_public_key_to_astdb(public_key_url, file_path);
> This signals that default_path is being used for a new download. […]
ah yeah true. Doesn't look like file_path gets modified after this so prob can just set file_ath = default_path then and avoid the copy.



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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I3ba4c63880493bf8c7d17a9cfca1af0e934d1a1c
Gerrit-Change-Number: 14220
Gerrit-PatchSet: 4
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-CC: Joshua Colp <jcolp at sangoma.com>
Gerrit-Comment-Date: Thu, 23 Apr 2020 15:54:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Kevin Harwell <kharwell at digium.com>
Comment-In-Reply-To: Benjamin Keith Ford <bford at digium.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200423/411cc706/attachment.html>


More information about the asterisk-code-review mailing list