summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-08-17 07:53:50 +0300
committerAndrew Dolgov <[email protected]>2015-08-17 07:53:50 +0300
commitd5eaaa050821a7b07baf932d6ce705f3c67ef334 (patch)
tree2109e625af5e277c2c986cbf21a08e15281cdf76 /include/functions.php
parent28539f6aafba872c5ca4ab3266357664b8b39a6b (diff)
curl: let's verify ssl peers
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index d68f6bf10..310081485 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -373,7 +373,6 @@
curl_setopt($ch, CURLOPT_MAXREDIRS, 20);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
curl_setopt($ch, CURLOPT_USERAGENT, $useragent ? $useragent :
SELF_USER_AGENT);