forked from pool/libimobiledevice
Accepting request 317451 from home:elvigia:branches:hardware
- libimobiledevice-nosslv3.patch: In tumbleweed, SSLv3_method fails because there is no sslv3 support, use SSLv233_method instead to negotiate the highest TLS version available. OBS-URL: https://build.opensuse.org/request/show/317451 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=6
This commit is contained in:
parent
52beb3adb7
commit
158b3c36da
11
libimobiledevice-nosslv3.patch
Normal file
11
libimobiledevice-nosslv3.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- libimobiledevice-1.2.0.orig/src/idevice.c
|
||||||
|
+++ libimobiledevice-1.2.0/src/idevice.c
|
||||||
|
@@ -678,7 +678,7 @@ LIBIMOBILEDEVICE_API idevice_error_t ide
|
||||||
|
}
|
||||||
|
BIO_set_fd(ssl_bio, (int)(long)connection->data, BIO_NOCLOSE);
|
||||||
|
|
||||||
|
- SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv3_method());
|
||||||
|
+ SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv23_method());
|
||||||
|
if (ssl_ctx == NULL) {
|
||||||
|
debug_info("ERROR: Could not create SSL context.");
|
||||||
|
BIO_free(ssl_bio);
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 18 23:35:28 UTC 2015 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- libimobiledevice-nosslv3.patch: In tumbleweed, SSLv3_method
|
||||||
|
fails because there is no sslv3 support, use SSLv233_method instead
|
||||||
|
to negotiate the highest TLS version available.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 1 13:02:52 UTC 2015 - i@marguerite.su
|
Sun Mar 1 13:02:52 UTC 2015 - i@marguerite.su
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ BuildRequires: python-devel
|
|||||||
BuildRequires: python-plist
|
BuildRequires: python-plist
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Patch0: libimobiledevice-nosslv3.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libimobiledevice is a software library that talks the protocols to support
|
libimobiledevice is a software library that talks the protocols to support
|
||||||
@ -104,6 +105,7 @@ Contains Python bindings for developing applications that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
sed -i -e '/Requires:/d' src/%{name}-1.0.pc.in
|
sed -i -e '/Requires:/d' src/%{name}-1.0.pc.in
|
||||||
sed -i -e 's/-L${libdir}//' src/%{name}-1.0.pc.in
|
sed -i -e 's/-L${libdir}//' src/%{name}-1.0.pc.in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user