diff options
Diffstat (limited to 'src/lib/stream/ctr/ctr.cpp')
-rw-r--r-- | src/lib/stream/ctr/ctr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/stream/ctr/ctr.cpp b/src/lib/stream/ctr/ctr.cpp index 943bb75f7..3b2e75f72 100644 --- a/src/lib/stream/ctr/ctr.cpp +++ b/src/lib/stream/ctr/ctr.cpp @@ -16,7 +16,7 @@ CTR_BE* CTR_BE::make(const Spec& spec) { if(spec.algo_name() == "CTR-BE" && spec.arg_count() == 1) { - if(BlockCipher* c = Algo_Registry<BlockCipher>::global_registry().make(spec.arg(0))) + if(BlockCipher* c = get_block_cipher(spec.arg(0))) return new CTR_BE(c); } return nullptr; |