aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_block.cpp')
-rw-r--r--src/tests/test_block.cpp6
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);