mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 04:28:10 +00:00
Fix build.
This commit is contained in:
parent
7dc834b219
commit
849ef0f9ed
1 changed files with 3 additions and 3 deletions
|
|
@ -1989,7 +1989,7 @@ void video_call_base_2(LinphoneCoreManager* caller,LinphoneCoreManager* callee,
|
|||
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 */
|
||||
const char *path = bc_tester_file("certificates-marie");
|
||||
char *path = bc_tester_file("certificates-marie");
|
||||
callee->lc->user_certificates_path = ms_strdup(path);
|
||||
bc_free(path);
|
||||
path = bc_tester_file("certificates-pauline");
|
||||
|
|
@ -2101,7 +2101,7 @@ void video_call_base_3(LinphoneCoreManager* caller,LinphoneCoreManager* callee,
|
|||
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 */
|
||||
const char *path = bc_tester_file("certificates-marie");
|
||||
char *path = bc_tester_file("certificates-marie");
|
||||
callee->lc->user_certificates_path = ms_strdup(path);
|
||||
bc_free(path);
|
||||
path = bc_tester_file("certificates-pauline");
|
||||
|
|
@ -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(pauline->lc,mode);
|
||||
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);
|
||||
bc_free(path);
|
||||
path = bc_tester_file("certificates-pauline");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue