Skip to content

Commit

Permalink
fix abreeden#1 chanfed to use SSL TLS 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
abreeden committed Dec 29, 2014
1 parent 552a17e commit e46ba2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"authors": [
{
"name": "Ashley Breeden",
"email": "ash@url.net.au"
"email": "ash@apbtechnology.com.au"
}
],
"require": {
Expand Down
4 changes: 2 additions & 2 deletions src/Abreeden/TransmitsmsApi/TransmitsmsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected static function request($method, $params=array())
curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
curl_setopt($ch, CURLOPT_USERAGENT, "transmitsmsAPI v.2");
curl_setopt($ch, CURLOPT_PORT, $port);
curl_setopt($ch, CURLOPT_SSLVERSION, 3);
curl_setopt($ch, CURLOPT_SSLVERSION, 6);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_MAXREDIRS, 3);
Expand Down Expand Up @@ -539,4 +539,4 @@ public static function getBalance()
return self::handleResponse(self::request('get-balance'));
}
}
?>
?>

0 comments on commit e46ba2b

Please sign in to comment.