Accepting request 124349 from devel:libraries:c_c++

Tag patch for [bnc#764906] (forwarded request 124331 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/124349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neon?expand=0&rev=40
This commit is contained in:
Stephan Kulow 2012-06-10 21:19:48 +00:00 committed by Git OBS Bridge
commit 93103e8f79
3 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,21 @@
Index: neon-0.29.6/src/ne_socket.c
===================================================================
--- neon-0.29.6.orig/src/ne_socket.c
+++ neon-0.29.6/src/ne_socket.c
@@ -1718,12 +1718,16 @@ int ne_sock_connect_ssl(ne_socket *sock,
return NE_SOCK_ERROR;
}
+#if 0
+ /* with openssl 1.0 the version checking is not needed anymore
+ * as compatibility is now better */
/* If runtime library version differs from compile-time version
* number in major/minor/fix level, abort soon. */
if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & 0xFFFFF000) {
set_error(sock, _("SSL disabled due to library version mismatch"));
return NE_SOCK_ERROR;
}
+#endif
sock->ssl = ssl = SSL_new(ctx->ctx);
if (!ssl) {

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 6 13:45:57 CEST 2012 - meissner@suse.de
- disable explicit openssl version check. openssl 1.0 is stable
api wise. [bnc#764906]
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 4 11:31:00 UTC 2012 - lnussel@suse.de Fri May 4 11:31:00 UTC 2012 - lnussel@suse.de

View File

@ -16,7 +16,6 @@
# #
Name: neon Name: neon
Version: 0.29.6 Version: 0.29.6
Release: 0 Release: 0
@ -41,6 +40,8 @@ Source2: baselibs.conf
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
Patch0: %{name}-0.28.4-bloat.patch Patch0: %{name}-0.28.4-bloat.patch
Patch1: neon-aes-ni.patch Patch1: neon-aes-ni.patch
# PATCH-FIX-UPSTREAM neon-openssl-version.patch [bnc#764906] -- fix "SSL disabled due to library version mismatch"
Patch2: neon-openssl-version.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -154,6 +155,8 @@ properties (PROPPATCH/PROPFIND)
# disable temporarily (bnc#720601) # disable temporarily (bnc#720601)
#%patch1 #%patch1
%patch2 -p1
%build %build
rm -f aclocal.m4 ltmain.sh rm -f aclocal.m4 ltmain.sh
sh autogen.sh sh autogen.sh