[asterisk-dev] [Code Review] 3044: Switch PJSIP auth to use a vector

Mark Michelson reviewboard at asterisk.org
Mon Dec 9 10:10:12 CST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3044/
-----------------------------------------------------------

(Updated Dec. 9, 2013, 10:10 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers and Joshua Colp.


Changes
-------

Committed in revision 403499


Repository: Asterisk


Description
-------

Since Asterisk 12 introduced vector.h, it's silly to try to roll our own any more. I happened to have used an expandable array construct for authentication in res_pjsip.c, so I figure that I may as well convert it over to use vectors.

Since this is not adding any critical functionality and is affecting the core of the PJSIP functionality in Asterisk, I elected to make the change against trunk instead of placing the change into 12.


Diffs
-----

  /trunk/res/res_pjsip_outbound_registration.c 403349 
  /trunk/res/res_pjsip_outbound_authenticator_digest.c 403349 
  /trunk/res/res_pjsip_authenticator_digest.c 403349 
  /trunk/res/res_pjsip/pjsip_distributor.c 403349 
  /trunk/res/res_pjsip/pjsip_configuration.c 403349 
  /trunk/res/res_pjsip/config_auth.c 403349 
  /trunk/res/res_pjsip.c 403350 
  /trunk/include/asterisk/res_pjsip.h 403349 

Diff: https://reviewboard.asterisk.org/r/3044/diff/


Testing
-------

Ran inbound/outbound call and outbound registration tests in the testsuite to ensure they still pass.


Thanks,

Mark Michelson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131209/aef43a56/attachment.html>


More information about the asterisk-dev mailing list