Skip to content

Commit d9f19b6

Browse files
authored
Merge pull request #853 from rklec/patch-2
Do verify SSL/TLS certificates when using cURL
2 parents c0550ba + 8c6fd03 commit d9f19b6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

qa-include/qa-base.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,6 @@ function qa_retrieve_url($url)
18811881
if (function_exists('curl_exec')) {
18821882
$curl = curl_init($url);
18831883
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
1884-
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
18851884
$contents = @curl_exec($curl);
18861885
curl_close($curl);
18871886
}

0 commit comments

Comments
 (0)