From: Kurt Roeckx Date: Fri, 2 Jan 2015 11:27:57 +0000 (+0100) Subject: Make build reproducible X-Git-Tag: OpenSSL_1_0_2~70 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e81a83657cc9a708ea25d4fcde6e0e9d04dd3ac5;p=oweals%2Fopenssl.git Make build reproducible It contained a date on when it was build. Reviewed-by: Rich Salz --- diff --git a/crypto/cversion.c b/crypto/cversion.c index 881957e892..d2c6e7025c 100644 --- a/crypto/cversion.c +++ b/crypto/cversion.c @@ -69,7 +69,11 @@ const char *SSLeay_version(int t) if (t == SSLEAY_BUILT_ON) { #ifdef DATE +# ifdef OPENSSL_USE_BUILD_DATE return(DATE); +# else + return("built on: reproducible build, date unspecified"); +# endif #else return("built on: date not available"); #endif