use /etc/ssl/certs/ca-bundle.crt root_ca

This commit is contained in:
nucleo 2013-07-27 12:19:41 +03:00
parent 613a020647
commit 87f15469d5
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- linphone-3.6.1/coreapi/linphonecore.c 2013-06-12 17:20:14.020039579 +0300
+++ linphone-3.6.1/coreapi/linphonecore.c 2013-07-26 11:36:51.014342101 +0300
@@ -638,7 +638,7 @@
}
#ifdef __linux
- sal_set_root_ca(lc->sal, lp_config_get_string(lc->config,"sip","root_ca", "/etc/ssl/certs"));
+ sal_set_root_ca(lc->sal, lp_config_get_string(lc->config,"sip","root_ca", "/etc/ssl/certs/ca-bundle.crt"));
#else
sal_set_root_ca(lc->sal, lp_config_get_string(lc->config,"sip","root_ca", ROOT_CA_FILE));
#endif

View File

@ -1,12 +1,13 @@
Name: linphone
Version: 3.6.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Phone anywhere in the whole world by using the Internet
License: GPLv2+
URL: http://www.linphone.org/
Source0: http://download.savannah.gnu.org/releases/linphone/3.5.x/sources/%{name}-%{version}.tar.gz
Patch0: linphone-3.6.1-rootca.patch
# for video support
BuildRequires: glew-devel
@ -95,6 +96,7 @@ Libraries and headers required to develop software with mediastreamer2.
%prep
%setup0 -q
%patch0 -p1 -b .rootca
autoreconf -i -f
@ -203,6 +205,9 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/mediastreamer*/html doc/mediastreamer
%{_libdir}/pkgconfig/mediastreamer.pc
%changelog
* Sat Jul 27 2013 Alexey Kurov <nucleo@fedoraproject.org> - 3.6.1-2
- use /etc/ssl/certs/ca-bundle.crt root_ca
* Sun Jul 7 2013 Alexey Kurov <nucleo@fedoraproject.org> - 3.6.1-1
- linphone-3.6.1