diff options
author | Jack Lloyd <[email protected]> | 2017-05-03 10:13:37 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-05-03 10:13:37 -0400 |
commit | 9caead4b585b9a0ed8aeb51f034bb97b05d8168e (patch) | |
tree | 3fc461d65593b8384235c517259409ccce83a692 /src/tests/test_ffi.cpp | |
parent | a6d9a805e2a4664610fc8c0ed1031fc80c23d82a (diff) | |
parent | 832f10eb1792aeedf5ab2970a9889fe4b10375a3 (diff) |
Merge GH #1036 Add FFI botan_hash_block_size
Diffstat (limited to 'src/tests/test_ffi.cpp')
-rw-r--r-- | src/tests/test_ffi.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/test_ffi.cpp b/src/tests/test_ffi.cpp index c337aec1d..966691b7f 100644 --- a/src/tests/test_ffi.cpp +++ b/src/tests/test_ffi.cpp @@ -106,6 +106,11 @@ class FFI_Unit_Tests : public Test result.test_eq("hash name", std::string(namebuf), "SHA-256"); } */ + size_t block_size; + if (TEST_FFI_OK(botan_hash_block_size, (hash, &block_size))) + { + result.test_eq("hash block size", block_size, 64); + } size_t output_len; if(TEST_FFI_OK(botan_hash_output_length, (hash, &output_len))) |