Fix the build with the new curl version: the CURLOPT_SSLENGINE_DEFAULT

option takes an argument now, even though it might be ignored.
This commit is contained in:
Peter Pentchev 2009-01-24 13:00:50 +00:00
parent d108c3e6d4
commit 133a11ddea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226785

View file

@ -0,0 +1,11 @@
--- lib/curl_transport/xmlrpc_curl_transport.c.old 2008-11-12 13:05:29.000000000 +0200
+++ lib/curl_transport/xmlrpc_curl_transport.c 2008-11-12 13:05:38.000000000 +0200
@@ -557,7 +557,7 @@
curl_easy_setopt(curlSessionP, CURLOPT_SSLENGINE,
curlSetupP->sslEngine);
if (curlSetupP->sslEngineDefault)
- curl_easy_setopt(curlSessionP, CURLOPT_SSLENGINE_DEFAULT);
+ curl_easy_setopt(curlSessionP, CURLOPT_SSLENGINE_DEFAULT, 1);
if (curlSetupP->sslVersion != XMLRPC_SSLVERSION_DEFAULT)
curl_easy_setopt(curlSessionP, CURLOPT_SSLVERSION,
curlSetupP->sslVersion);