From 264212b643c621d7e89079c1d2b76f87beec7ceb Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Fri, 2 Jan 2015 12:27:57 +0100 Subject: [PATCH] Make build reproducible It contained a date on when it was build. Reviewed-by: Rich Salz --- crypto/cversion.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.25.1