Skip to content

Commit

Permalink
tls: proper match of config profile by server id
Browse files Browse the repository at this point in the history
(cherry picked from commit 40f87b7)
  • Loading branch information
miconda committed Jan 22, 2020
1 parent b6a6222 commit 704606a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/tls/tls_domain.c
Expand Up @@ -1533,7 +1533,7 @@ tls_domain_t* tls_lookup_cfg(tls_domains_cfg_t* cfg, int type,
p->server_id.len, ZSW(p->server_id.s),
srvid->len, ZSW(srvid->s));
if(p->server_id.s && p->server_id.len==srvid->len
&& strncasecmp(p->server_name.s, srvid->s, srvid->len)==0) {
&& strncasecmp(p->server_id.s, srvid->s, srvid->len)==0) {
LM_DBG("TLS config found by server id\n");
return p;
}
Expand Down

0 comments on commit 704606a

Please sign in to comment.