diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/test_filters.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_filters.cpp b/src/tests/test_filters.cpp index af00ae4fc..7de68accb 100644 --- a/src/tests/test_filters.cpp +++ b/src/tests/test_filters.cpp @@ -335,7 +335,7 @@ class Filter_Tests : public Test result.test_eq("encrypt", enc_pipe.read_all_as_string(i), cfb_expected[i]); } - for(size_t i = 0; i != enc_pipe.message_count(); ++i) + for(size_t i = 0; i != dec_pipe.message_count(); ++i) { result.test_eq("decrypt", dec_pipe.read_all_as_string(i), Botan::hex_encode(msg_bits, i+1)); |