Skip to content

Instantly share code, notes, and snippets.

@piotrekkaminski
Created March 12, 2015 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piotrekkaminski/6bd1cd03f6d8f180af90 to your computer and use it in GitHub Desktop.
Save piotrekkaminski/6bd1cd03f6d8f180af90 to your computer and use it in GitHub Desktop.
Index: downloader/lib/Mage/HTTP/Client/Curl.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- downloader/lib/Mage/HTTP/Client/Curl.php (revision 70e08f1032574126d01d9c7022d9bdafa1c27303)
+++ downloader/lib/Mage/HTTP/Client/Curl.php (revision )
@@ -374,7 +374,7 @@
$this->_ch = curl_init();
$this->curlOption(CURLOPT_URL, $uriModified);
$this->curlOption(CURLOPT_SSL_VERIFYPEER, false);
- $this->curlOption(CURLOPT_SSL_VERIFYHOST, 2);
+ $this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');
$this->getCurlMethodSettings($method, $params, $isAuthorizationRequired);
if(count($this->_headers)) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment