aboutsummaryrefslogtreecommitdiffstats
path: root/misc/python
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-12-09 10:04:34 +0000
committerlloyd <[email protected]>2006-12-09 10:04:34 +0000
commit66906872d8f1413cdb05a94a3ce20592fb0fe8c6 (patch)
tree179cdefa417c76267c9883202e87b20df541a8a8 /misc/python
parent9526081c45b0947912db8911fa1cb948921811ba (diff)
Check in some old (very minor) changes to the Python wrapper code
Diffstat (limited to 'misc/python')
-rw-r--r--misc/python/src/pk.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/python/src/pk.cpp b/misc/python/src/pk.cpp
index 41ab0d516..5d912868d 100644
--- a/misc/python/src/pk.cpp
+++ b/misc/python/src/pk.cpp
@@ -103,11 +103,13 @@ void export_pk()
.def("__init__",
python::make_constructor(get_pk_encryptor,
python::with_custodian_and_ward_postcall<0, 1>()))
- .def("max_input", &PK_Encryptor::maximum_input_size).
- def("encrypt", encrypt_string);
+ .def("max_input", &PK_Encryptor::maximum_input_size)
+ .def("encrypt", encrypt_string);
+ /*
python::class_<PK_Decryptor, boost::noncopyable>
("PK_Decryptor", python::no_init)
.def("__init__", python::make_constructor(get_pk_decryptor))
.def("decrypt", decrypt_string);
+ */
}