Commit 05a9cf12 authored by Simon Morlat's avatar Simon Morlat

fix zrtp bug

parent e32dd9cf
......@@ -4749,7 +4749,7 @@ void linphone_call_handle_stream_events(LinphoneCall *call, int stream_index){
}
} else if (evt == ORTP_EVENT_ZRTP_SAS_READY) {
if (stream_index == call->main_audio_stream_index)
linphone_call_audiostream_auth_token_ready(call, evd->info.zrtp_sas.sas, evd->info.zrtp_sas.verified);
linphone_call_audiostream_auth_token_ready(call, evd->info.zrtp_info.sas, evd->info.zrtp_info.verified);
} else if (evt == ORTP_EVENT_DTLS_ENCRYPTION_CHANGED) {
if (stream_index == call->main_audio_stream_index)
linphone_call_audiostream_encryption_changed(call, evd->info.dtls_stream_encrypted);
......
......@@ -2722,6 +2722,8 @@ static void _call_base_with_configfile(LinphoneMediaEncryption mode, bool_t enab
BC_ASSERT_PTR_NOT_NULL(marie_token);
if (marie_token && pauline_token){
BC_ASSERT_STRING_EQUAL(pauline_token, marie_token);
BC_ASSERT_TRUE(strlen(pauline_token)>0);
BC_ASSERT_TRUE(strlen(marie_token)>0);
}
if (!plays_nothing) liblinphone_tester_check_rtcp(pauline,marie);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment