mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-29 23:26:23 +00:00
install pem file for mac os x and windows.
This commit is contained in:
parent
bb6a292ced
commit
3a5a469768
2 changed files with 11 additions and 4 deletions
|
|
@ -37,6 +37,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
/*#define UNSTANDART_GSM_11K 1*/
|
||||
|
||||
#define ROOT_CA_FILE PACKAGE_DATA_DIR "/linphone/rootca.pem"
|
||||
|
||||
static const char *liblinphone_version=LIBLINPHONE_VERSION;
|
||||
static void set_network_reachable(LinphoneCore* lc,bool_t isReachable, time_t curtime);
|
||||
static void linphone_core_run_hooks(LinphoneCore *lc);
|
||||
|
|
@ -514,10 +516,10 @@ static void sip_config_read(LinphoneCore *lc)
|
|||
ms_free(contact);
|
||||
}
|
||||
|
||||
#ifdef HAVE_GTK_OSX
|
||||
sal_root_ca(lc->sal, lp_config_get_string(lc->config,"sip","root_ca", "/opt/local/share/linphone/rootca.pem"));
|
||||
#else
|
||||
#ifdef __linux
|
||||
sal_root_ca(lc->sal, lp_config_get_string(lc->config,"sip","root_ca", "/etc/ssl/certs"));
|
||||
#else
|
||||
sal_root_ca(lc->sal, lp_config_get_string(lc->config,"sip","root_ca", ROOT_CA_FILE));
|
||||
#endif
|
||||
|
||||
tmp=lp_config_get_int(lc->config,"sip","guess_hostname",1);
|
||||
|
|
|
|||
|
|
@ -29,8 +29,13 @@ linphone_fd_DATA= linphone.desktop
|
|||
pkgconfigdir=$(libdir)/pkgconfig
|
||||
pkgconfig_DATA=linphone.pc
|
||||
|
||||
linphonedir=$(datadir)/linphone
|
||||
linphone_DATA=rootca.pem
|
||||
|
||||
EXTRA_DIST = $(LINPHONE_SOUNDS) \
|
||||
$(LINPHONE_RINGS) \
|
||||
linphone.desktop.in \
|
||||
linphone.pc.in \
|
||||
Makefile.inc
|
||||
Makefile.inc \
|
||||
rootca.pem
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue