diff options
author | lloyd <[email protected]> | 2006-12-09 10:04:34 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-12-09 10:04:34 +0000 |
commit | 66906872d8f1413cdb05a94a3ce20592fb0fe8c6 (patch) | |
tree | 179cdefa417c76267c9883202e87b20df541a8a8 /misc/python | |
parent | 9526081c45b0947912db8911fa1cb948921811ba (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.cpp | 6 |
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); + */ } |