Skip to content

Commit

Permalink
do not force SSL/TLS version (especially not SSLv3!!!)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyke369 committed Feb 10, 2015
1 parent 1569bac commit 082b05f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dailymotion.php
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,6 @@ protected function httpRequest($url, $payload, $headers = null, &$statusCode = n
CURLOPT_TIMEOUT => $this->timeout,
CURLOPT_PROXY => $this->proxy,
CURLOPT_PROXYUSERPWD => $this->proxyCredentials,
CURLOPT_SSLVERSION => 3, // See http://bit.ly/I1OYCn
CURLOPT_USERAGENT => sprintf('Dailymotion-PHP/%s (PHP %s; %s)', self::VERSION, PHP_VERSION, php_sapi_name()),
CURLOPT_HEADER => true,
CURLOPT_RETURNTRANSFER => true,
Expand Down

0 comments on commit 082b05f

Please sign in to comment.