c6f30351d4
- disable explicit openssl version check. openssl 1.0 is stable api wise. OBS-URL: https://build.opensuse.org/request/show/123834 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/neon?expand=0&rev=32
22 lines
757 B
Diff
22 lines
757 B
Diff
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) {
|