aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r--src/tests/tests.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h
index 0016a4d90..b33b2837f 100644
--- a/src/tests/tests.h
+++ b/src/tests/tests.h
@@ -11,6 +11,7 @@
#include <botan/build.h>
#include <botan/rng.h>
#include <botan/hex.h>
+#include <botan/symkey.h>
#if defined(BOTAN_HAS_BIGINT)
#include <botan/bigint.h>
@@ -38,6 +39,8 @@ using Botan::byte;
using Botan::BigInt;
#endif
+using Botan::OctetString;
+
class Test_Error : public Botan::Exception
{
public:
@@ -175,6 +178,8 @@ class Test
bool test_eq(const std::string& what, size_t produced, size_t expected);
+ bool test_eq(const std::string& what, OctetString produced, OctetString expected);
+
template<typename I1, typename I2>
bool test_int_eq(I1 x, I2 y, const char* what)
{