[LON-CAPA-cvs] cvs: loncom /configuration SSL.pm

raeburn raeburn at source.lon-capa.org
Thu Apr 11 22:41:47 EDT 2019


raeburn		Fri Apr 12 02:41:47 2019 EDT

  Modified files:              
    /loncom/configuration	SSL.pm 
  Log:
  - Detect case where no SSL keys, certs or csrs exist.
  
  
Index: loncom/configuration/SSL.pm
diff -u loncom/configuration/SSL.pm:1.8 loncom/configuration/SSL.pm:1.9
--- loncom/configuration/SSL.pm:1.8	Sat Dec 22 17:06:06 2018
+++ loncom/configuration/SSL.pm	Fri Apr 12 02:41:47 2019
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Checksum installed LON-CAPA modules and some configuration files
 #
-# $Id: SSL.pm,v 1.8 2018/12/22 17:06:06 raeburn Exp $
+# $Id: SSL.pm,v 1.9 2019/04/12 02:41:47 raeburn Exp $
 #
 # The LearningOnline Network with CAPA
 #
@@ -94,7 +94,7 @@
                 } else {
                     $message .= $file.'=';
                 }
-                if (ref($hashref->{$file}) eq 'HASH') {
+                if ((ref($hashref->{$file}) eq 'HASH') && (keys(%{$hashref->{$file}}) > 0)) {
                     my ($starttime,$endtime,$dateinvalid);
                     if ($target eq 'web') {
                         $message .= '<td>'.$lt{'yes'}.'</td>';




More information about the LON-CAPA-cvs mailing list