aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_modes.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-12 02:53:28 -0500
committerJack Lloyd <[email protected]>2016-11-12 02:53:28 -0500
commit8f2e7b93769e17e7fc1b99cb25b17d670b5b46bf (patch)
tree4216bd7da0f44d62a8d96c0eb525eea5ee604164 /src/tests/test_modes.cpp
parenteda1db90585c11507854b5584d7d4acf7e47be15 (diff)
Remove unused variable from tests
Diffstat (limited to 'src/tests/test_modes.cpp')
-rw-r--r--src/tests/test_modes.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tests/test_modes.cpp b/src/tests/test_modes.cpp
index 4949d1c98..174b2b17e 100644
--- a/src/tests/test_modes.cpp
+++ b/src/tests/test_modes.cpp
@@ -81,8 +81,6 @@ class Cipher_Mode_Tests : public Text_Based_Test
result.test_eq("correct number of bytes processed", bytes_written, bytes_to_process);
- const size_t remaining = input_length - bytes_to_process;
-
enc->finish(buf, bytes_to_process);
result.test_eq("encrypt", buf, expected);
}
@@ -123,8 +121,6 @@ class Cipher_Mode_Tests : public Text_Based_Test
result.test_eq("correct number of bytes processed", bytes_written, bytes_to_process);
- const size_t remaining = input_length - bytes_to_process;
-
dec->finish(buf, bytes_to_process);
result.test_eq("decrypt", buf, input);
}