提交 264212b6 编写于 作者: K Kurt Roeckx

Make build reproducible

It contained a date on when it was build.
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 41c9cfbc
...@@ -69,7 +69,11 @@ const char *SSLeay_version(int t) ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册