mirror of
https://abf.rosa.ru/djam/curl.git
synced 2025-02-23 15:52:59 +00:00
Force OPENSSL_NO_SSL2 to avoid undefined symbols issue with openssl 1.0.1s
This commit is contained in:
parent
fbe1533a7a
commit
778ebae1e2
2 changed files with 15 additions and 0 deletions
14
curl-7.47.1-disable-ssl2.patch
Normal file
14
curl-7.47.1-disable-ssl2.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
diff -urN curl-7.47.1/lib/vtls/openssl.c curl-7.47.1-patched/lib/vtls/openssl.c
|
||||
--- curl-7.47.1/lib/vtls/openssl.c 2016-02-08 00:43:38.000000000 +1000
|
||||
+++ curl-7.47.1-patched/lib/vtls/openssl.c 2016-03-10 19:48:37.249589990 +1000
|
||||
@@ -119,6 +119,10 @@
|
||||
#define OPENSSL_NO_SSL2
|
||||
#endif
|
||||
|
||||
+#ifndef OPENSSL_NO_SSL2
|
||||
+#define OPENSSL_NO_SSL2
|
||||
+#endif
|
||||
+
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && /* OpenSSL 1.1.0+ */ \
|
||||
!defined(LIBRESSL_VERSION_NUMBER)
|
||||
#define SSLeay_add_ssl_algorithms() SSL_library_init()
|
|
@ -14,6 +14,7 @@ Source0: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
|
|||
Patch0: curl-7.30.0-multilib.patch
|
||||
Patch1: curl-7.47.0-do-not-build-examples.patch
|
||||
Patch2: curl-7.36.0-debug.patch
|
||||
Patch3: curl-7.47.1-disable-ssl2.patch
|
||||
BuildRequires: groff
|
||||
BuildRequires: stunnel
|
||||
BuildRequires: krb5-devel
|
||||
|
|
Loading…
Add table
Reference in a new issue