diff --git a/libimobiledevice-nosslv3.patch b/libimobiledevice-nosslv3.patch new file mode 100644 index 0000000..68c9f73 --- /dev/null +++ b/libimobiledevice-nosslv3.patch @@ -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); diff --git a/libimobiledevice.changes b/libimobiledevice.changes index 6f5ca87..004e3eb 100644 --- a/libimobiledevice.changes +++ b/libimobiledevice.changes @@ -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 diff --git a/libimobiledevice.spec b/libimobiledevice.spec index 51b6e26..7eb22d1 100644 --- a/libimobiledevice.spec +++ b/libimobiledevice.spec @@ -39,6 +39,7 @@ BuildRequires: python-devel BuildRequires: python-plist BuildRequires: readline-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch0: libimobiledevice-nosslv3.patch %description 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 %setup -q +%patch0 -p1 autoreconf -fi sed -i -e '/Requires:/d' src/%{name}-1.0.pc.in sed -i -e 's/-L${libdir}//' src/%{name}-1.0.pc.in