Skip to content

Commit

Permalink
Fix: Nome incorreto da chave de configuração ao configurar certificad…
Browse files Browse the repository at this point in the history
…os de segurança do comunicador
  • Loading branch information
DenysXavier committed Dec 20, 2016
1 parent 7410ad4 commit 473232e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ComunicadorCurlSOAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
namespace TIExpert\WSBoletoSantander;

/**
* Classe que trata a comunicação entre a extensão Curl e um serviço SOAP
* Classe que trata a comunicação entre a extensão Curl e um serviço SOAP de registro de boletos no Santander
*
* @author Denys Xavier <[email protected]>
*/
Expand Down Expand Up @@ -103,7 +103,7 @@ public function configurarCertificadosDeSeguranca(&$arrayConfig) {
$arrayConfig[CURLOPT_SSLCERT] = $conf->getCertificado("arquivo");
$arrayConfig[CURLOPT_SSLCERTPASSWD] = $conf->getCertificado("senha");

if ($conf->getGeral("verificar_santander") == true) {
if ($conf->getGeral("assegurar_endpoint") === true) {
if ($conf->getCertificado("arquivo_ca") != "") {
$arrayConfig[CURLOPT_CAINFO] = $conf->getCertificado("arquivo_ca");
}
Expand Down

0 comments on commit 473232e

Please sign in to comment.