[sr-dev] [kamailio/kamailio] tls: fix raw vs urlencoded behavior in sel_ssl_cert() (#2291)

Armen Babikyan notifications at github.com
Sat Apr 18 23:25:49 CEST 2020


* Small bugfix
* Changes Tested locally

In addressing Daniel's comments on https://github.com/kamailio/kamailio/pull/2268#issuecomment-609935161, I realized that I misunderstood how select variables get resolved to data structures.

This patch fixes the sel_ssl_cert() implementation so that $sel(@tls.my.raw_cert), $sel(@tls.my.urlencoded_cert), $sel(@tls.peer.raw_cert), and $sel(@tls.peer.urlencoded_cert) all evaluate to expected outputs.
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/2291

-- Commit Summary --

  * tls: fix raw vs urlencoded behavior in sel_ssl_cert()

-- File Changes --

    M src/modules/tls/tls_select.c (28)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/2291.patch
https://github.com/kamailio/kamailio/pull/2291.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2291
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200418/42e926f1/attachment.html>


More information about the sr-dev mailing list