aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-26 18:16:34 +0000
committerlloyd <[email protected]>2009-12-26 18:16:34 +0000
commit3a9ee7510de8cd3a153ec1638597e31c821a4022 (patch)
treeb3bc88e60e7ee4fa179e1f2d0342061332318097 /src/libstate
parente23d4f55ac09c57c492358e949d09b8054e19df2 (diff)
Make startup self-test failures more verbose
Diffstat (limited to 'src/libstate')
-rw-r--r--src/libstate/libstate.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstate/libstate.cpp b/src/libstate/libstate.cpp
index 9ac15e381..919b12494 100644
--- a/src/libstate/libstate.cpp
+++ b/src/libstate/libstate.cpp
@@ -316,8 +316,7 @@ void Library_State::initialize(bool thread_safe)
m_algorithm_factory = new Algorithm_Factory(engines, *mutex_factory);
#if defined(BOTAN_HAS_SELFTESTS)
- if(!passes_self_tests(algorithm_factory()))
- throw Self_Test_Failure("Startup self tests failed");
+ confirm_startup_self_tests(algorithm_factory());
#endif
}