diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index d4f554a8f..1c4337e6d 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -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); diff --git a/tester/call_single_tester.c b/tester/call_single_tester.c index ac001c86a..1e48d2d6d 100644 --- a/tester/call_single_tester.c +++ b/tester/call_single_tester.c @@ -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); }