[asterisk-dev] tcptls: Use new certificate on reload

Corey Farrell git at cfware.com
Sun Nov 27 21:29:43 CST 2016


A review [1] has been posted to fix an issue where TLS servers would
not be restarted unless the bind address was changed.  This would
prevent use of new certificates if available.  Unfortunately this
change does cause an ABI change.  Fields are added to public
structures 'struct ast_tls_config' and 'struct
ast_tcptls_session_args'.  Within Asterisk itself these structures are
used by app_externalivr, chan_sip, res_http_websocket, http.c and
manager.c.

tcptls.h does not provide an allocation method for it's structures.
These means it is impossible to add fields to these structures without
breaking the ABI.  How does everyone feel about moving forward with
the fix as is?

[1] https://gerrit.asterisk.org/4448



More information about the asterisk-dev mailing list