Fix build after curl 7.18 update by adding a dummy argument.

This commit is contained in:
naddy 2008-05-15 17:45:22 +00:00
parent b04d0f6b63
commit f1bbb5f28a

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-lib_curl_transport_xmlrpc_curl_transport_c,v 1.1 2008/05/15 17:45:22 naddy Exp $
--- lib/curl_transport/xmlrpc_curl_transport.c.orig Thu May 15 18:01:05 2008
+++ lib/curl_transport/xmlrpc_curl_transport.c Thu May 15 18:01:16 2008
@@ -1214,7 +1214,7 @@ setupCurlSession(xmlrpc_env * const envP,
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);