[OpenSIPS-Devel] [opensips] Tls rework (#629)

Răzvan Crainea notifications at github.com
Fri Sep 4 15:42:47 CEST 2015


> +	{{"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*/

Why use PROTO_PREFIX? This is not a transport protocol, its just a helper!

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/629/files#r38752377
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150904/d36eeb62/attachment.htm>


More information about the Devel mailing list