Skip to content

Commit

Permalink
changed default verify peer value to true
Browse files Browse the repository at this point in the history
  • Loading branch information
kriswallsmith committed Mar 13, 2012
1 parent bce3140 commit 534d340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Buzz/Client/AbstractClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ abstract class AbstractClient
protected $ignoreErrors = true;
protected $maxRedirects = 5;
protected $timeout = 5;
protected $verifyPeer = false;
protected $verifyPeer = true;

public function setIgnoreErrors($ignoreErrors)
{
Expand Down
2 changes: 1 addition & 1 deletion test/Buzz/Test/Client/AbstractStreamTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function testConvertsARequestToAContextArray()
'timeout' => 10,
),
'ssl' => array(
'verify_peer' => false,
'verify_peer' => true,
),
);

Expand Down

0 comments on commit 534d340

Please sign in to comment.