diff options
Diffstat (limited to 'src/tests/test_mac.cpp')
-rw-r--r-- | src/tests/test_mac.cpp | 6 |
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); |