[OpenSIPS-Devel] [opensips] Tls rework (#629)
Răzvan Crainea
notifications at github.com
Fri Sep 4 15:19:00 CEST 2015
> @@ -1343,7 +256,7 @@ static int tls_conn_init(struct tcp_connection* c)
> if (!avp) {
> LM_DBG("no TLS client doman AVP set, looking "
> "for socket based TLS client domain\n");
> - dom = tls_find_client_domain(&c->rcv.src_ip, c->rcv.src_port);
> + dom = tls_mgm_api.find_client_domain(&c->rcv.src_ip, c->rcv.src_port);
> if (dom) {
> LM_DBG("found socket based TLS client domain "
> "[%s:%d]\n", ip_addr2a(&dom->addr), dom->port);
The tls_client_domain_avp should not be visible in the proto_tls module. The avp search should be done internally in the tls_mgm module and the "domain" should be returned directly.
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/629/files#r38750205
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150904/c659ef44/attachment.htm>
More information about the Devel
mailing list