diff options
author | Jack Lloyd <[email protected]> | 2017-01-05 18:40:49 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-01-05 18:40:49 -0500 |
commit | 46a757f3b762b4931f56d091246fb7024886977a (patch) | |
tree | 3523a638d1a590932844b626443f52f47fd58cd8 /src/tests | |
parent | c1d47622ae157ef353e4fe9b7849246516678b9d (diff) | |
parent | bb935199499b96f4a544bedc3f5367039e947e81 (diff) |
Merge GH #803 Add botan_ffi_supports_version func
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test_ffi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/test_ffi.cpp b/src/tests/test_ffi.cpp index dd066e248..243583e8f 100644 --- a/src/tests/test_ffi.cpp +++ b/src/tests/test_ffi.cpp @@ -42,6 +42,7 @@ class FFI_Unit_Tests : public Test result.test_is_eq("Patch version", botan_version_patch(), Botan::version_patch()); result.test_is_eq("Botan version", botan_version_string(), Botan::version_cstr()); result.test_is_eq("Botan version datestamp", botan_version_datestamp(), Botan::version_datestamp()); + result.test_is_eq("FFI supports its own version", botan_ffi_supports_api(botan_ffi_api_version()), 0); const std::vector<uint8_t> mem1 = { 0xFF, 0xAA, 0xFF }; const std::vector<uint8_t> mem2 = mem1; |