Commit 849ef0f9 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix build.

parent 7dc834b2
...@@ -1989,7 +1989,7 @@ void video_call_base_2(LinphoneCoreManager* caller,LinphoneCoreManager* callee, ...@@ -1989,7 +1989,7 @@ void video_call_base_2(LinphoneCoreManager* caller,LinphoneCoreManager* callee,
linphone_core_enable_video_capture(caller->lc, caller_video_enabled); linphone_core_enable_video_capture(caller->lc, caller_video_enabled);
if (mode==LinphoneMediaEncryptionDTLS) { /* for DTLS we must access certificates or at least have a directory to store them */ if (mode==LinphoneMediaEncryptionDTLS) { /* for DTLS we must access certificates or at least have a directory to store them */
const char *path = bc_tester_file("certificates-marie"); char *path = bc_tester_file("certificates-marie");
callee->lc->user_certificates_path = ms_strdup(path); callee->lc->user_certificates_path = ms_strdup(path);
bc_free(path); bc_free(path);
path = bc_tester_file("certificates-pauline"); path = bc_tester_file("certificates-pauline");
...@@ -2101,7 +2101,7 @@ void video_call_base_3(LinphoneCoreManager* caller,LinphoneCoreManager* callee, ...@@ -2101,7 +2101,7 @@ void video_call_base_3(LinphoneCoreManager* caller,LinphoneCoreManager* callee,
linphone_core_enable_video_capture(caller->lc, caller_video_enabled); linphone_core_enable_video_capture(caller->lc, caller_video_enabled);
if (mode==LinphoneMediaEncryptionDTLS) { /* for DTLS we must access certificates or at least have a directory to store them */ if (mode==LinphoneMediaEncryptionDTLS) { /* for DTLS we must access certificates or at least have a directory to store them */
const char *path = bc_tester_file("certificates-marie"); char *path = bc_tester_file("certificates-marie");
callee->lc->user_certificates_path = ms_strdup(path); callee->lc->user_certificates_path = ms_strdup(path);
bc_free(path); bc_free(path);
path = bc_tester_file("certificates-pauline"); path = bc_tester_file("certificates-pauline");
...@@ -2944,7 +2944,7 @@ void call_base_with_configfile(LinphoneMediaEncryption mode, bool_t enable_video ...@@ -2944,7 +2944,7 @@ void call_base_with_configfile(LinphoneMediaEncryption mode, bool_t enable_video
linphone_core_set_media_encryption(marie->lc,mode); linphone_core_set_media_encryption(marie->lc,mode);
linphone_core_set_media_encryption(pauline->lc,mode); linphone_core_set_media_encryption(pauline->lc,mode);
if (mode==LinphoneMediaEncryptionDTLS) { /* for DTLS we must access certificates or at least have a directory to store them */ if (mode==LinphoneMediaEncryptionDTLS) { /* for DTLS we must access certificates or at least have a directory to store them */
const char *path = bc_tester_file("certificates-marie"); char *path = bc_tester_file("certificates-marie");
marie->lc->user_certificates_path = ms_strdup(path); marie->lc->user_certificates_path = ms_strdup(path);
bc_free(path); bc_free(path);
path = bc_tester_file("certificates-pauline"); path = bc_tester_file("certificates-pauline");
......
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