8#include <botan/version.h>
10#include <botan/internal/fmt.h>
21#define QUOTE(name) #name
23#define STR(macro) QUOTE(macro)
27#if defined(BOTAN_VERSION_SUFFIX)
28 STR(BOTAN_VERSION_SUFFIX)
40#if defined(BOTAN_VERSION_SUFFIX)
41 STR(BOTAN_VERSION_SUFFIX)
44#if defined(BOTAN_UNSAFE_FUZZER_MODE) || defined(BOTAN_TERMINATE_ON_ASSERTS)
46 #if defined(BOTAN_UNSAFE_FUZZER_MODE)
49 #if defined(BOTAN_TERMINATE_ON_ASSERTS)
50 "TERMINATE ON ASSERTS "
55#if(BOTAN_VERSION_DATESTAMP != 0)
96 return fmt(
"Warning: linked version ({}) does not match version built against ({}.{}.{})\n",
#define BOTAN_DISTRIBUTION_INFO
#define BOTAN_VERSION_PATCH
The patch version of the release.
#define BOTAN_VERSION_VC_REVISION
#define BOTAN_VERSION_DATESTAMP
#define BOTAN_VERSION_RELEASE_TYPE
#define BOTAN_VERSION_MINOR
The minor version of the release.
#define BOTAN_VERSION_MAJOR
The major version of the release.
std::string version_string()
std::string fmt(std::string_view format, const T &... args)
const char * short_version_cstr()
const char * version_cstr()
uint32_t version_datestamp()
std::string short_version_string()
std::string runtime_version_check(uint32_t major, uint32_t minor, uint32_t patch)