aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libstate/libstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstate/libstate.cpp b/src/libstate/libstate.cpp
index 6da7ab284..531ae7735 100644
--- a/src/libstate/libstate.cpp
+++ b/src/libstate/libstate.cpp
@@ -267,7 +267,7 @@ void Library_State::initialize(bool thread_safe)
load_default_config();
- m_algorithm_factory = new Algorithm_Factory;
+ m_algorithm_factory = new Algorithm_Factory(*mutex_factory);
#if defined(BOTAN_HAS_ENGINE_GNU_MP)
m_algorithm_factory->add_engine(new GMP_Engine);