]> git.pld-linux.org Git - packages/opensips.git/commitdiff
- openssl-1.0.0 patch added auto/th/opensips-1_5_3-6
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 21 Apr 2010 17:12:40 +0000 (17:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Release: 6

Changed files:
    opensips-openssl.patch -> 1.1
    opensips.spec -> 1.22

opensips-openssl.patch [new file with mode: 0644]
opensips.spec

diff --git a/opensips-openssl.patch b/opensips-openssl.patch
new file mode 100644 (file)
index 0000000..f54e35c
--- /dev/null
@@ -0,0 +1,14 @@
+diff -up opensips-1.6.0/tls/tls_init.c.openssl opensips-1.6.0/tls/tls_init.c
+--- opensips-1.6.0/tls/tls_init.c.openssl      2008-11-24 21:52:33.000000000 +0100
++++ opensips-1.6.0/tls/tls_init.c      2009-08-25 20:18:45.000000000 +0200
+@@ -468,8 +468,8 @@ static int check_for_krb(void)
+       if (xx==NULL)
+               return -1;
+
+-      for( j=0 ; j<M_sk_num(xx->cipher_list) ; j++) {
+-              SSL_CIPHER *yy = (SSL_CIPHER*)M_sk_value(xx->cipher_list,j);
++      for( j=0 ; j<sk_SSL_CIPHER_num(xx->cipher_list) ; j++) {
++              SSL_CIPHER *yy = sk_SSL_CIPHER_value(xx->cipher_list,j);
+               if ( yy->id>=SSL3_CK_KRB5_DES_64_CBC_SHA &&
+                yy->id<=SSL3_CK_KRB5_RC4_40_MD5 ) {
+
index 475120832c8747fe9bb20f8905bf4ca90209d048..4f34b8499776e9214d9acb42876f7a0365f5a04a 100644 (file)
@@ -13,13 +13,14 @@ Summary:    SIP proxy, redirect and registrar server
 Summary(pl.UTF-8):     Serwer SIP rejestrujący, przekierowujący i robiący proxy
 Name:          opensips
 Version:       1.5.3
-Release:       5
+Release:       6
 License:       GPL v2
 Group:         Networking/Daemons
 Source0:       http://opensips.org/pub/opensips/%{version}/src/%{name}-%{version}-tls_src.tar.gz
 # Source0-md5: 8a03167420c31da15405bed7630ed3e2
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
+Patch0:                %{name}-openssl.patch
 URL:           http://www.opensips.org/
 %{?with_geoip:BuildRequires:   GeoIP-devel}
 %{?with_osp:BuildRequires:     OSPToolkit}
@@ -213,6 +214,7 @@ MIB-y dla openSIPS.
 
 %prep
 %setup -q -n %{name}-%{version}-tls
+%patch0 -p1
 
 find -type d -name CVS | xargs rm -rf
 
This page took 0.029963 seconds and 4 git commands to generate.