mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +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)
|
if (t == SSLEAY_BUILT_ON)
|
||||||
{
|
{
|
||||||
#ifdef DATE
|
#ifdef DATE
|
||||||
|
# ifdef OPENSSL_USE_BUILD_DATE
|
||||||
return(DATE);
|
return(DATE);
|
||||||
|
# else
|
||||||
|
return("built on: reproducible build, date unspecified");
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
return("built on: date not available");
|
return("built on: date not available");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user