diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2015-01-02 12:27:57 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2015-01-10 16:31:27 +0100 |
commit | e81a83657cc9a708ea25d4fcde6e0e9d04dd3ac5 (patch) | |
tree | 1893f0e35b56e5ed7c001a758774c755075dfba9 /crypto/cversion.c | |
parent | cbbb952f3a3d25c30efc94401e4537da5bd985cc (diff) |
Make build reproducible
It contained a date on when it was build.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/cversion.c')
-rw-r--r-- | crypto/cversion.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |