Dimitris Kounalakis wrote:
In Unix you can tell the openSSL to use external libraries .so that
are new external engines. In Indy, how can you tell OpenSSL to load
external dlls?
You can't. Indy does not expose that functionality (it doesn't even
import OpenSSL's ENGINE functions at all).
You should ask in the OpenSSL community how to add external engines to
OpenSSL. Again, this is outside the scope of Indy or even Delphi.
Based on a quick online search, it looks like you need to call
OpenSSL's ENGINE_by_id() or ENGINE_load_dynamic() function to load the
"dynamic" engine, and then use the ENGINE_ctrl_cmd_string() function to
send commands to the "dynamic" engine to have it load the external DLL
and add it to OpenSSL's list of available engines.
--
Remy Lebeau (TeamB)
Connect with Us