Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
92762859
Commit
92762859
authored
Apr 16, 2014
by
Simon Morlat
Browse files
stop warning about missing tls
parent
f8cd001a
Changes
2
Hide whitespace changes
Inline
Side-by-side
coreapi/linphonecore.c
View file @
92762859
...
...
@@ -1955,9 +1955,11 @@ static int apply_transports(LinphoneCore *lc){
transport_error
(
lc
,
"tcp"
,
tr
->
tcp_port
);
}
}
if
(
tr
->
tls_port
!=
0
){
if
(
sal_listen_port
(
sal
,
anyaddr
,
tr
->
tls_port
,
SalTransportTLS
,
TRUE
)
!=
0
){
transport_error
(
lc
,
"tls"
,
tr
->
tls_port
);
if
(
linphone_core_sip_transport_supported
(
LinphoneTransportTls
)){
if
(
tr
->
tls_port
!=
0
){
if
(
sal_listen_port
(
sal
,
anyaddr
,
tr
->
tls_port
,
SalTransportTLS
,
TRUE
)
!=
0
){
transport_error
(
lc
,
"tls"
,
tr
->
tls_port
);
}
}
}
apply_user_agent
(
lc
);
...
...
tester/call_tester.c
View file @
92762859
...
...
@@ -542,6 +542,8 @@ static void _call_with_ice(bool_t random_ports) {
CU_ASSERT_TRUE
(
wait_for
(
pauline
->
lc
,
marie
->
lc
,
&
pauline
->
stat
.
number_of_LinphoneCallStreamsRunning
,
2
));
CU_ASSERT_TRUE
(
wait_for
(
pauline
->
lc
,
marie
->
lc
,
&
marie
->
stat
.
number_of_LinphoneCallStreamsRunning
,
2
));
CU_ASSERT_TRUE
(
check_ice
(
pauline
,
marie
,
LinphoneIceStateHostConnection
));
liblinphone_tester_check_rtcp
(
marie
,
pauline
);
/*then close the call*/
linphone_core_terminate_all_calls
(
pauline
->
lc
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment