diff options
author | lloyd <[email protected]> | 2008-11-09 23:13:51 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-09 23:13:51 +0000 |
commit | 205bfc4e1fc8993e050174a3fca589a648fb947b (patch) | |
tree | 331496f8e7e604229e6e54ee3549bda79bb4b82e /src/libstate/engine/def_engine/lookup_cipher.cpp | |
parent | 8e0ac6263e6547fd9755aef040a5cac19db62035 (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.cpp | 3 |
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); |