From 75ae41fccada1aae4c85642fb98fb3254ffadf0c Mon Sep 17 00:00:00 2001 From: Phillip Shipley Date: Thu, 12 Feb 2015 13:34:05 -0500 Subject: [PATCH] fix bug related to ssl cainfo and capath --- src/ApiAxle/Shared/Config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ApiAxle/Shared/Config.php b/src/ApiAxle/Shared/Config.php index 4bfb0c4..8abe944 100644 --- a/src/ApiAxle/Shared/Config.php +++ b/src/ApiAxle/Shared/Config.php @@ -131,8 +131,8 @@ public function setConfg($config) $this->setKey(isset($config['key']) ? $config['key'] : false); $this->setSecret(isset($config['secret']) ? $config['secret'] : false); $this->setSslVerifypeer(isset($config['ssl_verifypeer']) ? $config['ssl_verifypeer'] : true); - $this->setSslCainfo(isset($config['ssl_cainfo']) ? $config['ssl_cainfo'] : true); - $this->setSslCapath(isset($config['ssl_capath']) ? $config['ssl_capath'] : true); + $this->setSslCainfo(isset($config['ssl_cainfo']) ? $config['ssl_cainfo'] : null); + $this->setSslCapath(isset($config['ssl_capath']) ? $config['ssl_capath'] : null); $this->setProxyEnable(isset($config['proxy_enable']) ? $config['proxy_enable'] : false); $this->setProxyHost(isset($config['proxy_host']) ? $config['proxy_host'] : null); $this->setProxyPort(isset($config['proxy_port']) ? $config['proxy_port'] : null);