File neon-openssl-version.patch of Package neon

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) {
openSUSE Build Service is sponsored by