aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_mac.cpp')
-rw-r--r--src/tests/test_mac.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/test_mac.cpp b/src/tests/test_mac.cpp
index 2b07497aa..90d501233 100644
--- a/src/tests/test_mac.cpp
+++ b/src/tests/test_mac.cpp
@@ -20,6 +20,12 @@ size_t mac_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_mac(algo, provider);