diff options
-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); |