From 9689891e2271e0e64ef1d8ea2a9acb00ca41b4d6 Mon Sep 17 00:00:00 2001 From: Juan Lago Date: Wed, 20 Jun 2018 10:32:56 +0200 Subject: [PATCH 1/2] Fixed bug that prevent to find they proxy settings in the wrong path --- src/Login/CertificationCheck/CertificationCheck.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Login/CertificationCheck/CertificationCheck.php b/src/Login/CertificationCheck/CertificationCheck.php index 9b85380..05c03fe 100644 --- a/src/Login/CertificationCheck/CertificationCheck.php +++ b/src/Login/CertificationCheck/CertificationCheck.php @@ -290,7 +290,7 @@ protected function checkOcsp(array $certificateChain) ]; // Set proxy - if ($proxy = $this->settings['nemid']['login']['proxy']) { + if ($proxy = $this->settings['login']['proxy']) { $params['proxy'] = $proxy; } From 5f6f2576f0d0cf0403058594f3188582795c71ea Mon Sep 17 00:00:00 2001 From: Juan Lago Date: Wed, 20 Jun 2018 10:49:24 +0200 Subject: [PATCH 2/2] Fixed bug that prevent to find they proxy settings in the wrong path --- src/Login/CertificationCheck/CertificationCheck.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Login/CertificationCheck/CertificationCheck.php b/src/Login/CertificationCheck/CertificationCheck.php index 05c03fe..1ae2fc6 100644 --- a/src/Login/CertificationCheck/CertificationCheck.php +++ b/src/Login/CertificationCheck/CertificationCheck.php @@ -279,6 +279,7 @@ protected function checkOcsp(array $certificateChain) // Init guzzle client $client = new Client(); + try { // Build params $params = [