removed ENGINE_set_destroy_function; refs #25

master
Marc Wäckerlin 12 years ago
parent 37fb9c0cfd
commit a0e995c26e
  1. 5
      src/openssl-engine.hxx

@ -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));

Loading…
Cancel
Save