summaryrefslogtreecommitdiffstats
path: root/crypto/cversion.c
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2015-01-02 12:27:57 +0100
committerKurt Roeckx <kurt@roeckx.be>2015-01-10 16:23:15 +0100
commit264212b643c621d7e89079c1d2b76f87beec7ceb (patch)
tree23805b2029abcde72970e4f364ef618506116567 /crypto/cversion.c
parentFurther windows specific .gitignore entries (diff)
downloadopenssl-264212b643c621d7e89079c1d2b76f87beec7ceb.tar.xz
openssl-264212b643c621d7e89079c1d2b76f87beec7ceb.zip
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.c4
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