summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorChristian Schneider2016-05-10 15:32:00 +0200
committerChristian Schneider2016-05-10 15:32:00 +0200
commitb6f6f2b76786e84d40eac9b18c597aec8f92681c (patch)
tree21c9e42a90bb80d7c7083c0ad8069e424f4b3f92 /it_url.class
parent01076e6c2b2ca9ba54d4d9ec66ab7aacea08efa5 (diff)
downloaditools-b6f6f2b76786e84d40eac9b18c597aec8f92681c.tar.gz
itools-b6f6f2b76786e84d40eac9b18c597aec8f92681c.tar.bz2
itools-b6f6f2b76786e84d40eac9b18c597aec8f92681c.zip
Remove duplicate CURLOPT_SSL_* settings
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class4
1 files changed, 1 insertions, 3 deletions
diff --git a/it_url.class b/it_url.class
index ce1f96f..1a8d171 100644
--- a/it_url.class
+++ b/it_url.class
@@ -293,10 +293,8 @@ static function curl_opts($p=array())
CURLOPT_FOLLOWLOCATION => false,
CURLOPT_HTTPHEADER => $headers,
- CURLOPT_SSL_VERIFYPEER => true,
- CURLOPT_SSL_VERIFYHOST => 2,
CURLOPT_CAPATH => '/etc/ssl/certs/',
- CURLOPT_SSL_VERIFYPEER => 1,
+ CURLOPT_SSL_VERIFYPEER => true,
CURLOPT_SSL_VERIFYHOST => 2,
CURLINFO_HEADER_OUT => 1,