summaryrefslogtreecommitdiffstats
path: root/util/mkerr.pl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-10-22 13:02:42 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-10-22 13:02:42 +0000
commit6a45ea4f887494bd972dcfc3186002497a1c6eeb (patch)
treec49c2f995ec235567fecf376eeeab1df10af0a04 /util/mkerr.pl
parent78c3e20579d3baa159c8b51b59d415b6e521614b (diff)
use correct year automatically
Diffstat (limited to 'util/mkerr.pl')
-rw-r--r--util/mkerr.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/mkerr.pl b/util/mkerr.pl
index b46aa68439..49a52a7f33 100644
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -14,6 +14,7 @@ my $pack_errcode;
my $load_errcode;
my $errcount;
+my $year = (localtime)[5] + 1900;
while (@ARGV) {
my $arg = $ARGV[0];
@@ -392,7 +393,7 @@ foreach $lib (keys %csrc)
} else {
push @out,
"/* ====================================================================\n",
-" * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved.\n",
+" * Copyright (c) 2001-$year The OpenSSL Project. All rights reserved.\n",
" *\n",
" * Redistribution and use in source and binary forms, with or without\n",
" * modification, are permitted provided that the following conditions\n",
@@ -577,7 +578,7 @@ EOF
print OUT <<"EOF";
/* $cfile */
/* ====================================================================
- * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved.
+ * Copyright (c) 1999-$year The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions