From 4f3b0ce8fccd879791d5a701102ee0737f3509b1 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 9 Feb 2014 16:52:51 +0000 Subject: More fixes for minified builds --- src/tests/test_block.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/tests/test_block.cpp') diff --git a/src/tests/test_block.cpp b/src/tests/test_block.cpp index 037ea0547..450e5f7fd 100644 --- a/src/tests/test_block.cpp +++ b/src/tests/test_block.cpp @@ -25,10 +25,7 @@ size_t block_test(const std::string& algo, size_t fails = 0; if(providers.empty()) - { - std::cout << "Unknown algo " << algo << "\n"; - ++fails; - } + throw std::runtime_error("Unknown block cipher " + algo); for(auto provider: providers) { -- cgit v1.2.3