From d5eaaa050821a7b07baf932d6ce705f3c67ef334 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 17 Aug 2015 07:53:50 +0300 Subject: curl: let's verify ssl peers --- include/functions.php | 1 - 1 file changed, 1 deletion(-) (limited to 'include/functions.php') 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); -- cgit v1.2.3-54-g00ecf