From a0e995c26e393a3e21d6e60d3838aaf469d11859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 2 Apr 2013 08:32:14 +0000 Subject: [PATCH] removed ENGINE_set_destroy_function; refs #25 --- src/openssl-engine.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/openssl-engine.hxx b/src/openssl-engine.hxx index adff922..8bf6390 100644 --- a/src/openssl-engine.hxx +++ b/src/openssl-engine.hxx @@ -145,7 +145,10 @@ namespace openssl { _map[e->_e] = e; OPENSSL_CHECK(ENGINE_set_id(e->_e, e->id())); 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_finish_function(e->_e, EngineMapper::finish)); OPENSSL_CHECK(ENGINE_set_ctrl_function(e->_e, EngineMapper::ctrl));