Hi,

Does the dynamic-engine is supposed to be used to load  the engines that
use the standard implementation of
bind_engine() (implemented with IMPLEMENT_DYNAMIC_BIND_FN()  macro),
please?

As far as I see,  the engines from 'openssl-0.9.7a' use this standard
implementation of bind_engine().
This function fails if  'ex_data' is already initialized (due to  the
call CRYPTO_set_ex_data_implementation()).
It also fails if the 'err_fns' is already initialized (due to
ERR_set_implementation()).
At the same time, in  the procedure dynamic_load()
(crypto/engine/eng_dyn.c) the 'ex_data' and 'err_fns'  are initialized
just before calling
ctx->bind_engine().

Similar question about the call CRYPTO_set_mem_functions() that is
present in the standard bind_engine() procedure.
It  assumes that the engine's bind_engine() should be called before any
call to CRYPTO_malloc().
Is it possible, for examlpe, when using binary 'openssl ' with command
line argument '-engine'?

Thank you in advance,
Victor.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to