summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_url.class6
1 files changed, 6 insertions, 0 deletions
diff --git a/it_url.class b/it_url.class
index 531af8b..db09ea0 100644
--- a/it_url.class
+++ b/it_url.class
@@ -209,6 +209,12 @@ static function curl_opts($p=array())
];
}
+ if ($p['sslkey'])
+ $add += [CURLOPT_SSLKEY => $p['sslkey']];
+
+ if ($p['sslcert'])
+ $add += [CURLOPT_SSLCERT => $p['sslcert']];
+
if ($p['verbose'] || EDC('curlverbose'))
$add += [ CURLOPT_VERBOSE => true ];