diff options
Diffstat (limited to 'src/lib/block/lion/lion.cpp')
-rw-r--r-- | src/lib/block/lion/lion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/block/lion/lion.cpp b/src/lib/block/lion/lion.cpp index 44d4d0bed..a3f15fb51 100644 --- a/src/lib/block/lion/lion.cpp +++ b/src/lib/block/lion/lion.cpp @@ -17,8 +17,8 @@ Lion* make_lion(const BlockCipher::Spec& spec) { if(spec.arg_count_between(2, 3)) { - std::unique_ptr<HashFunction> hash(Algo_Registry<HashFunction>::global_registry().make(spec.arg(0))); - std::unique_ptr<StreamCipher> stream(Algo_Registry<StreamCipher>::global_registry().make(spec.arg(1))); + std::unique_ptr<HashFunction> hash(get_hash_function(spec.arg(0))); + std::unique_ptr<StreamCipher> stream(get_stream_cipher(spec.arg(1))); if(hash && stream) { |