|
@@ -331,7 +331,7 @@ discard block |
|
|
block discarded – undo |
|
331
|
331
|
// for now (no OpenRoaming client certs available) only run server-side tests |
|
332
|
332
|
foreach ($listOfIPs as $oneIP) { |
|
333
|
333
|
$connectionResult = $connectionTests->cApathCheck($oneIP); |
|
334
|
|
- if ($connectionResult != \core\diag\AbstractTest::RETVAL_OK || ( isset($connectionTests->TLS_CA_checks_result['cert_oddity']) && count($connectionTests->TLS_CA_checks_result['cert_oddity']) > 0)) { |
|
|
334
|
+ if ($connectionResult != \core\diag\AbstractTest::RETVAL_OK || (isset($connectionTests->TLS_CA_checks_result['cert_oddity']) && count($connectionTests->TLS_CA_checks_result['cert_oddity']) > 0)) { |
|
335
|
335
|
$allHostsOkay = FALSE; |
|
336
|
336
|
} else { |
|
337
|
337
|
$oneHostOkay = TRUE; |
|
@@ -639,7 +639,7 @@ discard block |
|
|
block discarded – undo |
|
639
|
639
|
|
|
640
|
640
|
} |
|
641
|
641
|
\core\common\Entity::intoThePotatoes(); |
|
642
|
|
- ksort($finalarray, SORT_STRING|SORT_FLAG_CASE); |
|
|
642
|
+ ksort($finalarray, SORT_STRING | SORT_FLAG_CASE); |
|
643
|
643
|
\core\common\Entity::outOfThePotatoes(); |
|
644
|
644
|
return $finalarray; |
|
645
|
645
|
} |
|
@@ -949,7 +949,7 @@ discard block |
|
|
block discarded – undo |
|
949
|
949
|
$profileStatus = self::CERT_STATUS_NONE; |
|
950
|
950
|
foreach ($rows as $row) { |
|
951
|
951
|
$encodedCert = $row[0]; |
|
952
|
|
- $tm = $x509->processCertificate(base64_decode($encodedCert))['full_details']['validTo_time_t']- time(); |
|
|
952
|
+ $tm = $x509->processCertificate(base64_decode($encodedCert))['full_details']['validTo_time_t'] - time(); |
|
953
|
953
|
if ($tm < \config\ConfAssistant::CERT_WARNINGS['expiry_critical']) { |
|
954
|
954
|
$certStatus = self::CERT_STATUS_ERROR; |
|
955
|
955
|
} elseif ($tm < \config\ConfAssistant::CERT_WARNINGS['expiry_warning']) { |
Please login to merge, or discard this patch.