aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_aead.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_aead.cpp
parenteda1db90585c11507854b5584d7d4acf7e47be15 (diff)
Remove unused variable from tests
Diffstat (limited to 'src/tests/test_aead.cpp')
-rw-r--r--src/tests/test_aead.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tests/test_aead.cpp b/src/tests/test_aead.cpp
index 1558c0d30..24352a536 100644
--- a/src/tests/test_aead.cpp
+++ b/src/tests/test_aead.cpp
@@ -117,8 +117,6 @@ class AEAD_Tests : public Text_Based_Test
result.test_eq("correct number of bytes processed", bytes_written, bytes_to_process);
- const size_t remaining = input.size() - bytes_to_process;
-
enc->finish(buf, bytes_to_process);
result.test_eq("encrypt", buf, expected);
}
@@ -212,8 +210,6 @@ class AEAD_Tests : public Text_Based_Test
result.test_eq("correct number of bytes processed", bytes_written, bytes_to_process);
- const size_t remaining = input.size() - bytes_to_process;
-
dec->finish(buf, bytes_to_process);
result.test_eq("decrypt", buf, expected);
}