Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tls: fix raw vs urlencoded behavior in sel_ssl_cert() #2291

Merged
merged 1 commit into from Apr 19, 2020

Conversation

armenb
Copy link
Contributor

@armenb armenb commented Apr 18, 2020

  • Small bugfix
  • Changes Tested locally

In addressing Daniel's comments on #2268 (comment), 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.

@henningw henningw merged commit e5d2ac2 into kamailio:master Apr 19, 2020
@henningw
Copy link
Contributor

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants