aboutsummaryrefslogtreecommitdiffstats
path: root/checks/bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'checks/bench.cpp')
-rw-r--r--checks/bench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/bench.cpp b/checks/bench.cpp
index e62da7e6f..9cd193f4f 100644
--- a/checks/bench.cpp
+++ b/checks/bench.cpp
@@ -194,7 +194,7 @@ bool bench_algo(const std::string& algo,
}
u32bit cipher_keylen = proto_cipher->MAXIMUM_KEYLENGTH;
- u32bit cipher_ivlen = proto_cipher->BLOCK_SIZE;
+ u32bit cipher_ivlen = proto_cipher->block_size();
if(algo_parts[1] == "XTS")
cipher_keylen *= 2; // hack!