]> 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:04 +0000 (13:02 +0000)
commit3d2def92e27bbcfc9c32886b40e12e867dc98af6
tree601b4c80df265bd08a79368449d3a5e2fe9c59ea
parent6568c869894e08e7a8af6382c78e5323bbbb02c6
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