aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 02:56:03 +0000
committerlloyd <[email protected]>2010-10-13 02:56:03 +0000
commit3697dcff8b5e9765b41114281ce10e7ed3d3abb4 (patch)
tree670853a74b0fe173e7e9fce9cd3e6eda7a03d2c7 /src/libstate
parent63121e1e169616f724bf79b8aac1a2b4423c8904 (diff)
s/BLOCK_SIZE/block_size()/
Diffstat (limited to 'src/libstate')
-rw-r--r--src/libstate/lookup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstate/lookup.cpp b/src/libstate/lookup.cpp
index c701ad8e3..ad0362264 100644
--- a/src/libstate/lookup.cpp
+++ b/src/libstate/lookup.cpp
@@ -37,7 +37,7 @@ u32bit block_size_of(const std::string& name)
Algorithm_Factory& af = global_state().algorithm_factory();
if(const BlockCipher* cipher = af.prototype_block_cipher(name))
- return cipher->BLOCK_SIZE;
+ return cipher->block_size();
if(const HashFunction* hash = af.prototype_hash_function(name))
return hash->HASH_BLOCK_SIZE;