<p>In <a href="https://github.com/OpenSIPS/opensips/pull/629#discussion_r38752377">modules/tls_mgm/tls_mgm.c</a>:</p>
<pre style='color:#555'>> +        {{"tls_peer_selfsigned", sizeof("tls_peer_selfsigned")-1},
> +                850, tlsops_check_cert, 0,
> +                0, 0, pv_init_iname, CERT_SELFSIGNED },
> +        {{"tls_peer_notBefore", sizeof("tls_peer_notBefore")-1},
> +                850, tlsops_validity, 0,
> +                0, 0, pv_init_iname, CERT_NOTBEFORE },
> +        {{"tls_peer_notAfter", sizeof("tls_peer_notAfter")-1},
> +                850, tlsops_validity, 0,
> +                0, 0, pv_init_iname, CERT_NOTAFTER },
> +
> +        { {0, 0}, 0, 0, 0, 0, 0, 0, 0 }
> +
> +};
> +
> +struct module_exports exports = {
> +        PROTO_PREFIX "tls_mgm", /* module name*/
</pre>
<p>Why use PROTO_PREFIX? This is not a transport protocol, its just a helper!</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/629/files#r38752377">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciYWnb4GuXexDANQDyppv_n3Cq-oKks5ouZdXgaJpZM4F33dj.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/OpenSIPS/opensips/pull/629/files#r38752377"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>