aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-11 17:00:45 -0400
committerJack Lloyd <[email protected]>2017-09-11 17:00:45 -0400
commitb9083c26ecd069a747e4464ebe24ff22a7d22dae (patch)
treef71e4b813c95b1f1ca9a4d5a158f46deee79264f /src
parentbe72cb8126022363386c4b0493691ea7afe838f0 (diff)
Reference the right pipe
This didn't affect the results [ci skip]
Diffstat (limited to 'src')
-rw-r--r--src/tests/test_filters.cpp2
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));