mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
add tester for ssl handcheck timout
This commit is contained in:
parent
9448260574
commit
01f68a128b
2 changed files with 2 additions and 1 deletions
|
|
@ -5215,6 +5215,7 @@ void sip_config_uninit(LinphoneCore *lc)
|
|||
lc->auth_info=NULL;
|
||||
|
||||
sal_reset_transports(lc->sal);
|
||||
sal_unlisten_ports(lc->sal); /*to make sure no new messages are received*/
|
||||
sal_iterate(lc->sal); /*make sure event are purged*/
|
||||
sal_uninit(lc->sal);
|
||||
lc->sal=NULL;
|
||||
|
|
|
|||
|
|
@ -421,7 +421,7 @@ static void tls_with_non_tls_server(){
|
|||
linphone_proxy_config_edit(proxy_cfg);
|
||||
addr=linphone_address_new(linphone_proxy_config_get_addr(proxy_cfg));
|
||||
snprintf(tmp,sizeof(tmp),"sip:%s:%i;transport=tls" ,linphone_address_get_domain(addr)
|
||||
,linphone_address_get_port_int(addr));
|
||||
,(linphone_address_get_port_int(addr)>0?linphone_address_get_port_int(addr):5060));
|
||||
linphone_proxy_config_set_server_addr(proxy_cfg,tmp);
|
||||
linphone_proxy_config_done(proxy_cfg);
|
||||
linphone_address_destroy(addr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue