File gost_eng.c contains macros IMPLEMENT_DYNAMIG_BIND_FN and IMPLEMENT_DYNAMIC_CHECK_FN, which should be expanded when engine is compiled as shared library, i.e. during default build of OpenSSL after ./config shared
However, these macros are under #ifdef DYNAMIC_ENGINE_SUPPORT, and this macro is never defined during default shared build of OpenSSL. As a result, compiled engine shared library cannot be loaded into OpenSSL. Simular problem exist in gmp engine. All other engines, included into OpenSSL distribution use #ifndef OPENSSL_NO_DYNAMIC_ENGINE to hide bind function during static build, so default shared build creates engines which at least can be loaded and display their capabilities by openssl engine -c <engine_name> (more functionality cannot be tested without actual hardware). Also I've discovered that ccgost engine contains uncommented debug output. Attached patch fixes these problems. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
