mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Make build reproducible
It contained a date on when it was build. Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
41c9cfbc4e
commit
264212b643
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user