Make generated copyright year be "now"
[openssl.git] / crypto / conf / keysets.pl
index b0e2249364d833646e57b36f58bc830aad5ba4be..42c1988345959b270037763b35980af27e4a9d4c 100644 (file)
@@ -57,9 +57,8 @@ foreach (0 .. 127) {
     push(@V_w32, $v);
 }
 
-# Output year depends on the year of the script.
-my $YEAR = [localtime([stat($0)]->[9])]->[5] + 1900;
-
+# The year the output file is generated.
+my $YEAR = [localtime()]->[5] + 1900;
 print <<"EOF";
 /*
  * WARNING: do not edit!