Accepting request 78849 from devel:libraries:c_c++
- Use SSL_MODE_RELEASE_BUFFERS if available, accepted in upstream as commit 3d919440c80333c496fb (forwarded request 78841 from elvigia) OBS-URL: https://build.opensuse.org/request/show/78849 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=61
This commit is contained in:
commit
671ff7aa8e
13
curl-openssl-release-buffers.patch
Normal file
13
curl-openssl-release-buffers.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- lib/ssluse.c.orig
|
||||
+++ lib/ssluse.c
|
||||
@@ -1492,6 +1492,10 @@ ossl_connect_step1(struct connectdata *c
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
+#ifdef SSL_MODE_RELEASE_BUFFERS
|
||||
+ SSL_CTX_set_mode(connssl->ctx, SSL_MODE_RELEASE_BUFFERS);
|
||||
+#endif
|
||||
+
|
||||
#ifdef SSL_CTRL_SET_MSG_CALLBACK
|
||||
if(data->set.fdebug && data->set.verbose) {
|
||||
/* the SSL trace callback is only used for verbose logging so we only
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 15 05:05:01 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- Use SSL_MODE_RELEASE_BUFFERS if available, accepted
|
||||
in upstream as commit 3d919440c80333c496fb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 12 06:46:02 UTC 2011 - coolo@novell.com
|
||||
|
||||
|
@ -52,7 +52,7 @@ Url: http://curl.haxx.se/
|
||||
Source: curl-%version%{?cvs_suffix}.tar.lzma
|
||||
Source2: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
Patch: curl-openssl-release-buffers.patch
|
||||
%description
|
||||
Curl is a client to get documents and files from or send documents to a
|
||||
server using any of the supported protocols (HTTP, HTTPS, FTP, FTPS,
|
||||
@ -84,7 +84,7 @@ user interaction or any kind of interactivity.
|
||||
|
||||
%prep
|
||||
%setup -q -n curl-%version%{?cvs_suffix}
|
||||
|
||||
%patch
|
||||
%build
|
||||
# local hack to make curl-config --libs stop printing libraries it depends on
|
||||
# (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere,
|
||||
|
Loading…
x
Reference in New Issue
Block a user