diff options
author | lloyd <[email protected]> | 2014-01-31 22:30:50 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-01-31 22:30:50 +0000 |
commit | e11024f26113189f45ca1759f6a045ca6989849e (patch) | |
tree | 33ea9eb4c4faabc899fa03aff5132e00a21f5d84 /src/tests/test_block.cpp | |
parent | 9332870c160d7a02f1bef6f249fa1baae196dc51 (diff) |
Add ChaCha
Diffstat (limited to 'src/tests/test_block.cpp')
-rw-r--r-- | src/tests/test_block.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/test_block.cpp b/src/tests/test_block.cpp index 2ef5f8979..037ea0547 100644 --- a/src/tests/test_block.cpp +++ b/src/tests/test_block.cpp @@ -24,6 +24,12 @@ size_t block_test(const std::string& algo, const auto providers = af.providers_of(algo); size_t fails = 0; + if(providers.empty()) + { + std::cout << "Unknown algo " << algo << "\n"; + ++fails; + } + for(auto provider: providers) { const BlockCipher* proto = af.prototype_block_cipher(algo, provider); |