]> git.ipfire.org Git - thirdparty/asterisk.git/commit
stir_shaken: Fix memory leak, typo in config, tn canonicalization
authorGeorge Joseph <gjoseph@sangoma.com>
Thu, 25 Apr 2024 17:56:15 +0000 (11:56 -0600)
committertypo in config <tn canonicalization|George Joseph|gjoseph@sangoma.com|>
Mon, 29 Apr 2024 13:02:07 +0000 (13:02 +0000)
commit9c1b98e5770641fb51d3f4967e06acbd7f717541
tree758d3c7e6a1ce8f1aa97c8d76c6f12eba2888a1d
parentaf3dd9e2e3d4a01db2c0aa93c38216cd6113d684
stir_shaken:  Fix memory leak, typo in config, tn canonicalization

* Fixed possible memory leak in tn_config:tn_get_etn() where we
weren't releasing etn if tn or eprofile were null.
* We now canonicalize TNs before using them for lookups or adding
them to Identity headers.
* Fixed a typo in stir_shaken.conf.sample.

Resolves: #716
configs/samples/stir_shaken.conf.sample
res/res_pjsip_stir_shaken.c
res/res_stir_shaken/attestation.c
res/res_stir_shaken/common_config.c
res/res_stir_shaken/common_config.h
res/res_stir_shaken/tn_config.c
res/res_stir_shaken/verification.c