From 85caef829c9eeb7c224ad3b2e3ffbcfe981c2428 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 11 Feb 2015 23:16:51 +0000 Subject: Add version_cstr (returns const char*) and move tag_size from AEAD to Cipher_Mode. Add missing includes in entropy sources, noticed by clang. --- src/lib/utils/version.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/utils/version.cpp') diff --git a/src/lib/utils/version.cpp b/src/lib/utils/version.cpp index d13d091ca..f3e01e290 100644 --- a/src/lib/utils/version.cpp +++ b/src/lib/utils/version.cpp @@ -21,6 +21,11 @@ namespace Botan { */ std::string version_string() { + return std::string(version_cstr()); + } + +const char* version_cstr() + { #define QUOTE(name) #name #define STR(macro) QUOTE(macro) -- cgit v1.2.3