Skip to content

Commit

Permalink
Disable Cert Verification
Browse files Browse the repository at this point in the history
  • Loading branch information
duanehutchins committed Apr 12, 2012
1 parent 7a19978 commit 06bc17a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Postmark PHP class changelog
============================

## 0.4.6

* Disable Curl cert verification

## 0.4.5

* Internally uses constants for recipients
Expand Down
1 change: 1 addition & 0 deletions Postmark.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ public function send($options = array())
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . '/Certificate/cacert.pem');
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);

$return = curl_exec($ch);
$curlError = curl_error($ch);
Expand Down

0 comments on commit 06bc17a

Please sign in to comment.