Skip to content

Commit

Permalink
Merge pull request #353 from sharathkatteri/master
Browse files Browse the repository at this point in the history
Fix for SDK-PHP #340
  • Loading branch information
ashtru committed Dec 5, 2018
2 parents 6eeaa2c + 09cae37 commit 31bb167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deprecated/shared/AuthorizeNetRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ protected function _sendRequest()
curl_setopt($curl_request, CURLOPT_SSL_VERIFYHOST, 2);

if ($this->VERIFY_PEER) {
curl_setopt($curl_request, CURLOPT_CAINFO, dirname(dirname(__FILE__)) . '../../ssl/cert.pem');
curl_setopt($curl_request, CURLOPT_CAINFO, dirname(dirname(__FILE__)) . '/../ssl/cert.pem');
} else {
if ($this->_logger) {
$this->_logger->error("----Request----\nInvalid SSL option\n");
Expand Down

0 comments on commit 31bb167

Please sign in to comment.