summaryrefslogtreecommitdiff
path: root/crypto/cversion.c
diff options
context:
space:
mode:
authorYury Usishchev <y.usishchev@samsung.com>2015-10-06 14:05:17 +0300
committerYury Usishchev <y.usishchev@samsung.com>2015-10-06 14:06:03 +0300
commit28308412c8ac97a350f1219070d5a4fe6286f994 (patch)
tree1425bc1be1aa2ecdd556bc4808621256a7c11cde /crypto/cversion.c
parent13ea66c69fd44fadc3e1493311a74537b8cb5d7c (diff)
downloadopenssl-28308412c8ac97a350f1219070d5a4fe6286f994.tar.gz
openssl-28308412c8ac97a350f1219070d5a4fe6286f994.tar.bz2
openssl-28308412c8ac97a350f1219070d5a4fe6286f994.zip
Imported Upstream version 1.0.2dupstream/1.0.2d
Change-Id: I565a3e3ac5176f83139175faa2d2a11a334e8908 Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
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 9e6f50d..bfff699 100644
--- a/crypto/cversion.c
+++ b/crypto/cversion.c
@@ -68,7 +68,11 @@ const char *SSLeay_version(int t)
return OPENSSL_VERSION_TEXT;
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