aboutsummaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-rw-r--r--src/python/__init__.py3
-rw-r--r--src/python/core.cpp4
2 files changed, 0 insertions, 7 deletions
diff --git a/src/python/__init__.py b/src/python/__init__.py
index 2df9a456f..f98b5a0ec 100644
--- a/src/python/__init__.py
+++ b/src/python/__init__.py
@@ -1,4 +1 @@
from _botan import *
-
-# Initialize the library when the module is imported
-init = LibraryInitializer()
diff --git a/src/python/core.cpp b/src/python/core.cpp
index d3c314374..cb395ee60 100644
--- a/src/python/core.cpp
+++ b/src/python/core.cpp
@@ -5,7 +5,6 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#include <botan/init.h>
#include <botan/pipe.h>
#include <botan/lookup.h>
#include <botan/cryptobox.h>
@@ -191,9 +190,6 @@ std::string python_kdf2(const std::string& param,
BOOST_PYTHON_MODULE(_botan)
{
- python::class_<LibraryInitializer>("LibraryInitializer")
- .def(python::init< python::optional<std::string> >());
-
python::class_<Python_RandomNumberGenerator>("RandomNumberGenerator")
.def(python::init<>())
.def("__str__", &Python_RandomNumberGenerator::name)