diff options
Diffstat (limited to 'src/tests/test_hash.cpp')
-rw-r--r-- | src/tests/test_hash.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/test_hash.cpp b/src/tests/test_hash.cpp index cd0fb785b..6077bf906 100644 --- a/src/tests/test_hash.cpp +++ b/src/tests/test_hash.cpp @@ -19,6 +19,12 @@ size_t hash_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) { auto proto = af.prototype_hash_function(algo, provider); |