[openssl] openssl-3.0 update

Dr. Paul Dale pauli at openssl.org
Wed Feb 2 03:02:50 UTC 2022


The branch openssl-3.0 has been updated
       via  1fdd4da451a8e11b58f8a16c18d3d85e68c18188 (commit)
      from  b882e1bb0b520f264f2ea1f53e753a5ef1a5974a (commit)


- Log -----------------------------------------------------------------
commit 1fdd4da451a8e11b58f8a16c18d3d85e68c18188
Author: Ross Burton <ross.burton at arm.com>
Date:   Thu Jan 27 12:03:11 2022 +0000

    apps/progs.pl: use SOURCE_DATE_EPOCH if defined for copyright year
    
    As with 11d7d903, use SOURCE_DATE_EPOCH for the copyright year if it is
    defined, to avoid reproducibility problems.
    
    CLA: trivial
    
    Signed-off-by: Ross Burton <ross.burton at arm.com>
    Change-Id: I1bea19070411a69155c43de7082350fb2c499da3
    
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/17601)
    
    (cherry picked from commit 27aca04e13ca8a9bead49de7bc380110ecb7064e)

-----------------------------------------------------------------------

Summary of changes:
 apps/progs.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/progs.pl b/apps/progs.pl
index 8a5759a961..77054902b4 100644
--- a/apps/progs.pl
+++ b/apps/progs.pl
@@ -21,7 +21,7 @@ die "Unrecognised option, must be -C or -H\n"
 my %commands     = ();
 my $cmdre        = qr/^\s*int\s+([a-z_][a-z0-9_]*)_main\(\s*int\s+argc\s*,/;
 my $apps_openssl = shift @ARGV;
-my $YEAR         = [localtime()]->[5] + 1900;
+my $YEAR         = [gmtime($ENV{SOURCE_DATE_EPOCH} || time())]->[5] + 1900;
 
 # because the program apps/openssl has object files as sources, and
 # they then have the corresponding C files as source, we need to chain


More information about the openssl-commits mailing list