aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/engine/def_engine/lookup_cipher.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-09 23:13:51 +0000
committerlloyd <[email protected]>2008-11-09 23:13:51 +0000
commit205bfc4e1fc8993e050174a3fca589a648fb947b (patch)
tree331496f8e7e604229e6e54ee3549bda79bb4b82e /src/libstate/engine/def_engine/lookup_cipher.cpp
parent8e0ac6263e6547fd9755aef040a5cac19db62035 (diff)
Modify Lion lookup to use arg_count_between
Diffstat (limited to 'src/libstate/engine/def_engine/lookup_cipher.cpp')
-rw-r--r--src/libstate/engine/def_engine/lookup_cipher.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstate/engine/def_engine/lookup_cipher.cpp b/src/libstate/engine/def_engine/lookup_cipher.cpp
index 668ce6c5d..bba8a6c3c 100644
--- a/src/libstate/engine/def_engine/lookup_cipher.cpp
+++ b/src/libstate/engine/def_engine/lookup_cipher.cpp
@@ -266,8 +266,7 @@ Default_Engine::find_block_cipher(const std::string& algo_spec) const
#endif
#if defined(BOTAN_HAS_LION)
- if(request.algo_name() == "Lion" &&
- (request.arg_count() == 2 || request.arg_count() == 3))
+ if(request.algo_name() == "Lion" && request.arg_count_between(2, 3))
{
const u32bit block_size = request.argument_as_u32bit(2, 1024);