[LON-CAPA-cvs] cvs: loncom / CrCA.pl

raeburn raeburn at source.lon-capa.org
Sun May 14 14:44:57 EDT 2023


raeburn		Sun May 14 18:44:57 2023 EDT

  Modified files:              
    /loncom	CrCA.pl 
  Log:
  - Removing trailing whitespace. No code changes.
  
  
Index: loncom/CrCA.pl
diff -u loncom/CrCA.pl:1.4 loncom/CrCA.pl:1.5
--- loncom/CrCA.pl:1.4	Thu Jul 18 00:28:04 2019
+++ loncom/CrCA.pl	Sun May 14 18:44:57 2023
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # Script to create a Certificate Authority (CA) for a LON-CAPA cluster.
 #
-# $Id: CrCA.pl,v 1.4 2019/07/18 00:28:04 raeburn Exp $
+# $Id: CrCA.pl,v 1.5 2023/05/14 18:44:57 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -176,7 +176,7 @@
   } else {
       print "A lonca directory is required, but no directory exists\n";
       exit;
-  }  
+  }
   if (-e "$dir/lonca/opensslca.conf") {
       # retrieve existing config file and verify that if contains the required fields.
       %data = &parse_config("$dir/lonca/opensslca.conf");
@@ -196,7 +196,7 @@
 
 A configuration file: $dir/lonca/opensslca.conf will be created.
 
-The following information will be included: 
+The following information will be included:
 Country, State/Province, City, Cluster Name, Organizational Name, E-mail address, Default certificate lifetime (days), CRL re-creation interval (days)
 
 END
@@ -347,7 +347,7 @@
           } else {
               exit;
           }
-      } 
+      }
   } else {
       $sslkeypass = &get_new_sslkeypass();
       # generate SSL key
@@ -441,8 +441,8 @@
       chmod $mode, "$dir/lonca/index.txt";
   } else {
       print "lonca/index.txt file is missing\n";
-      exit; 
-  }    
+      exit;
+  }
 
   my $defcrlsel = 1;
   if (!-e "$dir/lonca/crl/loncapaCAcrl.pem") {




More information about the LON-CAPA-cvs mailing list