From: Dr. Stephen Henson Date: Mon, 22 Oct 2012 13:03:31 +0000 (+0000) Subject: use correct year automatically X-Git-Tag: OpenSSL_1_0_2-beta1~566 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=74daafaa94b88597b2568e8e9ea23d3723b52c3a;p=oweals%2Fopenssl.git use correct year automatically --- diff --git a/util/mkerr.pl b/util/mkerr.pl index 34c3023449..1f19cb921a 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]; @@ -391,7 +392,7 @@ foreach $lib (keys %csrc) } else { push @out, "/* ====================================================================\n", -" * Copyright (c) 2001-2012 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", @@ -576,7 +577,7 @@ EOF print OUT <<"EOF"; /* $cfile */ /* ==================================================================== - * Copyright (c) 1999-2012 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