diff options
-rw-r--r-- | include/init.h | 1 | ||||
-rw-r--r-- | src/init_def.cpp | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h index 82a7fe278..958cddda7 100644 --- a/include/init.h +++ b/include/init.h @@ -35,6 +35,7 @@ class InitializerOptions class LibraryInitializer { public: + LibraryInitializer(const std::string& = ""); LibraryInitializer(const InitializerOptions&); ~LibraryInitializer(); }; diff --git a/src/init_def.cpp b/src/init_def.cpp index 05631127c..31cb89ea7 100644 --- a/src/init_def.cpp +++ b/src/init_def.cpp @@ -17,6 +17,15 @@ namespace Botan { /************************************************* * Library Initialization * *************************************************/ +LibraryInitializer::LibraryInitializer(const std::string& arg_string) + { + InitializerOptions args(arg_string); + Init::initialize(args); + } + +/************************************************* +* Library Initialization * +*************************************************/ LibraryInitializer::LibraryInitializer(const InitializerOptions& args) { Init::initialize(args); |