|
|
@ -145,7 +145,10 @@ namespace openssl { |
|
|
|
_map[e->_e] = e; |
|
|
|
_map[e->_e] = e; |
|
|
|
OPENSSL_CHECK(ENGINE_set_id(e->_e, e->id())); |
|
|
|
OPENSSL_CHECK(ENGINE_set_id(e->_e, e->id())); |
|
|
|
OPENSSL_CHECK(ENGINE_set_name(e->_e, e->name())); |
|
|
|
OPENSSL_CHECK(ENGINE_set_name(e->_e, e->name())); |
|
|
|
OPENSSL_CHECK(ENGINE_set_destroy_function(e->_e, EngineMapper::destroy)); |
|
|
|
// removed EngineMapper::destroy because of crash:
|
|
|
|
|
|
|
|
// https://dev.marc.waeckerlin.org/projects/libpcscxx/ticket/25
|
|
|
|
|
|
|
|
//OPENSSL_CHECK(ENGINE_set_destroy_function
|
|
|
|
|
|
|
|
// (e->_e, EngineMapper::destroy));
|
|
|
|
OPENSSL_CHECK(ENGINE_set_init_function(e->_e, EngineMapper::init)); |
|
|
|
OPENSSL_CHECK(ENGINE_set_init_function(e->_e, EngineMapper::init)); |
|
|
|
OPENSSL_CHECK(ENGINE_set_finish_function(e->_e, EngineMapper::finish)); |
|
|
|
OPENSSL_CHECK(ENGINE_set_finish_function(e->_e, EngineMapper::finish)); |
|
|
|
OPENSSL_CHECK(ENGINE_set_ctrl_function(e->_e, EngineMapper::ctrl)); |
|
|
|
OPENSSL_CHECK(ENGINE_set_ctrl_function(e->_e, EngineMapper::ctrl)); |
|
|
|