diff options
-rw-r--r-- | src/libstate/init.cpp | 2 | ||||
-rw-r--r-- | src/libstate/init.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libstate/init.cpp b/src/libstate/init.cpp index 890871411..377055bd4 100644 --- a/src/libstate/init.cpp +++ b/src/libstate/init.cpp @@ -14,7 +14,7 @@ namespace Botan { *************************************************/ void LibraryInitializer::initialize(const std::string& arg_string) { - bool thread_safe = true; + bool thread_safe = false; const std::vector<std::string> arg_list = split_on(arg_string, ' '); for(u32bit j = 0; j != arg_list.size(); ++j) diff --git a/src/libstate/init.h b/src/libstate/init.h index affceb332..a20a392fe 100644 --- a/src/libstate/init.h +++ b/src/libstate/init.h @@ -19,7 +19,7 @@ namespace Botan { class BOTAN_DLL LibraryInitializer { public: - static void initialize(const std::string& options); + static void initialize(const std::string& options = ""); static void deinitialize(); @@ -27,7 +27,7 @@ class BOTAN_DLL LibraryInitializer * Initialize the library * @param thread_safe if the library should use a thread-safe mutex */ - LibraryInitializer(const std::string& options) + LibraryInitializer(const std::string& options = "") { LibraryInitializer::initialize(options); } ~LibraryInitializer() { LibraryInitializer::deinitialize(); } |