diff options
author | lloyd <[email protected]> | 2012-01-28 06:44:08 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-28 06:44:08 +0000 |
commit | fd6a59f73b4b6d65966b61e8e7a8cda050a4ba43 (patch) | |
tree | 47cd5e3e92615b87b1da19b7148048cfbb71467f /src/selftest | |
parent | 1b12d3afbd32e8e0bd39900dfb9359e2b9a9af99 (diff) |
Add a slow but functional implementation of Camellia
Diffstat (limited to 'src/selftest')
-rw-r--r-- | src/selftest/selftest.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/selftest/selftest.cpp b/src/selftest/selftest.cpp index 4d2837dac..7b87bcb61 100644 --- a/src/selftest/selftest.cpp +++ b/src/selftest/selftest.cpp @@ -10,6 +10,8 @@ #include <botan/internal/core_engine.h> #include <botan/internal/stl_util.h> +#include <stdio.h> + namespace Botan { namespace { @@ -24,7 +26,9 @@ bool test_filter_kat(Filter* filter, Pipe pipe(new Hex_Decoder, filter, new Hex_Encoder); pipe.process_msg(input); - std::string output = pipe.read_all_as_string(); + const std::string output = pipe.read_all_as_string(); + + //printf("%s %s\n", output.c_str(), expected_output.c_str()); return (output == expected_output); } |