aboutsummaryrefslogtreecommitdiffstats
path: root/src/init_def.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-07-12 06:20:58 +0000
committerlloyd <[email protected]>2006-07-12 06:20:58 +0000
commit861c01037180b83a2c28764d02930dda90191853 (patch)
tree24055fea99a15d8088884a6cffd9dab96e429e6a /src/init_def.cpp
parentf83486cd1db68bf4e5b61ad84f5a8b130fe2c482 (diff)
Add a LibraryInitializer constructor taking a std::string, which simply
calls the InitializerOptions constructor.
Diffstat (limited to 'src/init_def.cpp')
-rw-r--r--src/init_def.cpp9
1 files changed, 9 insertions, 0 deletions
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);