Hi,

Further to Geoff's comments...

To load an engine from a shared library with 0.9.8 you
have to first load the dynamic engine. This is loaded
by calling ENGINE_load_builtin_engines() (along with
some others) or may be explicitly loaded with
ENGINE_load_dynamic(). I noticed that your test app
code does neither.

Once the dynamic engine has been loaded you may set
the dynamic engine load path as Geoff mentioned using
the SO_PATH ctrl command if necessary before calling
ENGINE_load_ubsec();

Hope this helps,

Jon.

> The problem is that if you do a "shared" build, the
> engines are built as 
> shared-libraries too - that is, this is now the case
> but wasn't under 
> 0.9.7. Your code is calling ENGINE_load_ubsec()
> which doesn't exist in 
> libcrypto, because when you call
> ENGINE_by_id("ubsec") it should fall 
> back to automatically searching the default path to
> load the engine 
> shared lib (libubsec.so). Let me know if this isn't
> the case, but from an 
> initial glance that seems to be what you're hitting.



                
____________________________________________________ 
Do you Yahoo!? 
Find a local business fast with Yahoo! Local Search 
http://au.local.yahoo.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to