aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/version.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-14 12:32:46 +0000
committerlloyd <[email protected]>2010-06-14 12:32:46 +0000
commit3a7b91163b8d1b6d0044b777b0e8ffce77c9d8c9 (patch)
treef8bb19776cb7b35f68f7c68a524cc397a4480e13 /src/utils/version.cpp
parenta68fb6c85bfc35a6eb5b7ed3a60c44eea68d9413 (diff)
Expose a datestamp in build.h, provide function in version.h for
getting runtime value.
Diffstat (limited to 'src/utils/version.cpp')
-rw-r--r--src/utils/version.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/version.cpp b/src/utils/version.cpp
index d540864b2..22827cbe5 100644
--- a/src/utils/version.cpp
+++ b/src/utils/version.cpp
@@ -26,6 +26,8 @@ std::string version_string()
to_string(version_patch());
}
+u32bit version_datestamp() { return BOTAN_VERSION_DATESTAMP; }
+
/*
* Return parts of the version as integers
*/