aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/base/init.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-03-11 12:05:06 +0000
committerlloyd <[email protected]>2015-03-11 12:05:06 +0000
commit1bf1490726d859596ac95c78c9a7763b8d420b2d (patch)
tree91b6126ca7f9491e997b340ea8ce0c8f96f8671a /src/lib/base/init.cpp
parent28e5dd404b5d4e3f5eec1a64a198c8f301636e23 (diff)
Add BOTAN_DLL back to LibraryInitializer and move some of the implementation to
a source file. Without BOTAN_DLL the LibraryInitializer was removed entirely from the list of symbols which is not desired. Add some casts to avoid scary sounding but (upon review) harmless warnings from MSVC
Diffstat (limited to 'src/lib/base/init.cpp')
-rw-r--r--src/lib/base/init.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/lib/base/init.cpp b/src/lib/base/init.cpp
new file mode 100644
index 000000000..1befc34d2
--- /dev/null
+++ b/src/lib/base/init.cpp
@@ -0,0 +1,23 @@
+/*
+* (C) 2015 Jack Lloyd
+*
+* Botan is released under the Simplified BSD License (see license.txt)
+*/
+
+#include <botan/init.h>
+
+namespace Botan {
+
+//static
+void LibraryInitializer::initialize(const std::string&)
+ {
+ // none needed currently
+ }
+
+//static
+void LibraryInitializer::deinitialize()
+ {
+ // none needed currently
+ }
+
+}