Make build reproducible

It contained a date on when it was build.

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Kurt Roeckx 2015-01-02 12:27:57 +01:00
parent 41c9cfbc4e
commit 264212b643

View File

@ -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