aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_stream.cpp')
-rw-r--r--src/tests/test_stream.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tests/test_stream.cpp b/src/tests/test_stream.cpp
index 707f5d62d..ef186e982 100644
--- a/src/tests/test_stream.cpp
+++ b/src/tests/test_stream.cpp
@@ -26,13 +26,19 @@ size_t stream_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 StreamCipher* proto = af.prototype_stream_cipher(algo, provider);
if(!proto)
{
- std::cout << "Unable to get " << algo << " from " << provider << "\n";
+ std::cout << "Unable to get " << algo << " from provider '" << provider << "'\n";
++fails;
continue;
}