aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/speed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/speed.cpp')
-rw-r--r--src/cli/speed.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index 1323fbf3a..bd087e8e4 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -515,8 +515,6 @@ class Speed final : public Command
const Botan::SymmetricKey key(rng(), cipher.maximum_keylength());
ks_timer.run([&] { cipher.set_key(key); });
- std::chrono::milliseconds half = runtime / 2;
-
encrypt_timer.run_until_elapsed(runtime, [&] { cipher.encrypt(buffer); });
output() << Timer::result_string_bps(encrypt_timer);