<ul>
<li>Small bugfix</li>
<li>Changes Tested locally</li>
</ul>
<p>In addressing Daniel's comments on <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="590732766" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/2268" data-hovercard-type="pull_request" data-hovercard-url="/kamailio/kamailio/pull/2268/hovercard?comment_id=609935161&comment_type=issue_comment" href="https://github.com/kamailio/kamailio/pull/2268#issuecomment-609935161">#2268 (comment)</a>, I realized that I misunderstood how select variables get resolved to data structures.</p>
<p>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.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/kamailio/kamailio/pull/2291'>https://github.com/kamailio/kamailio/pull/2291</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>tls: fix raw vs urlencoded behavior in sel_ssl_cert()</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/2291/files#diff-7b47a91a8044bc43f4b785a9e0777f27">src/modules/tls/tls_select.c</a>
    (28)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/kamailio/kamailio/pull/2291.patch'>https://github.com/kamailio/kamailio/pull/2291.patch</a></li>
  <li><a href='https://github.com/kamailio/kamailio/pull/2291.diff'>https://github.com/kamailio/kamailio/pull/2291.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2291">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJ5ZR6NQS7L54SIN2DRNILF3ANCNFSM4MLQMLDQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZNAJJHGKE3HDV5AMWDRNILF3A5CNFSM4MLQMLD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4I7KIN2A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2291",
"url": "https://github.com/kamailio/kamailio/pull/2291",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>