aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-26 11:38:01 -0500
committerJack Lloyd <[email protected]>2016-11-26 11:38:01 -0500
commit345f0881bc44b7a8344ea943e96b1dad4a8d484b (patch)
treed7d30b2e13abe660713eafed3e034ebf1494e7f8 /src/tests/tests.h
parentd695dfadc0daf8290d344f82697d456fd011d153 (diff)
Add test for various functions previously missed (T::clone, PBKDF::name, AEAD::output_length)
Fix a bug in CCM, GCM, and OCB decryption which caused `output_length(tag_size())` to fail even though empty plaintexts are certainly defined for all three modes.
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r--src/tests/tests.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h
index 7d168be72..733e948ea 100644
--- a/src/tests/tests.h
+++ b/src/tests/tests.h
@@ -230,6 +230,8 @@ class Test
bool test_ne(const std::string& what, size_t produced, size_t expected);
+ bool test_ne(const std::string& what, const std::string& str1, const std::string& str2);
+
#if defined(BOTAN_HAS_BIGINT)
bool test_eq(const std::string& what, const BigInt& produced, const BigInt& expected);
bool test_ne(const std::string& what, const BigInt& produced, const BigInt& expected);