aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/libstate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstate/libstate.cpp')
-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
}