Skip to content

Commit

Permalink
Enforce TLS 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Nov 29, 2016
1 parent 50df1ff commit 63d01d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Utilities/UrlQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ private function configureCurl ($email, $password)
CURLOPT_URL => $this->url,
CURLOPT_HEADER => true,
CURLOPT_HTTPHEADER => $this->headers,
CURLOPT_RETURNTRANSFER => true
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSLVERSION => 6
));

if (!StringUtilities::isNullOrEmpty($email) && !StringUtilities::isNullOrEmpty($password))
Expand Down

0 comments on commit 63d01d4

Please sign in to comment.