Hi, On October 24, 2005 11:50 am, Marco GRELLA wrote: > I have developed an OpenSSL Engine for our hw crypto accelerator. > I have no problems in using it as a dynamic engine with OpenSSL 0.9.8, > neither I have problems in loading it with OpenSSL 0.9.7d. > > But I get problems with 0.9.7g/i (so, I guess 'h' too....) versions.
Are you rebuilding the dynamic engine (lib) for each version you try to load against or did you build against one fixed version and try to load it against others? If the latter, which version did you build against? > Here I report the output I get: > > ----------------------------------------------------------------------- >--- [EMAIL PROTECTED] hwa_engine]# openssl097i engine dynamic -c -vvvv -pre > SO_PATH:/usr/local/ssl7i/lib/engines/libhwa.so -pre NO_VCHECK:1 -pre > ID:hwa -pre LIST_ADD:1 -pre LOAD > (dynamic) Dynamic engine loading support > [Success]: SO_PATH:/usr/local/ssl7i/lib/engines/libhwa.so > [Success]: NO_VCHECK:1 > [Success]: ID:hwa > [Success]: LIST_ADD:1 > [Failure]: LOAD > 4284:error:260B606D:engine routines:DYNAMIC_LOAD:init > failed:eng_dyn.c:433: SO_PATH: Specifies the path to the new ENGINE > shared library (input flags): STRING > NO_VCHECK: Specifies to continue even if version checking fails > (boolean) > (input flags): NUMERIC > ID: Specifies an ENGINE id name for loading > (input flags): STRING > LIST_ADD: Whether to add a loaded ENGINE to the internal list > (0=no,1=yes,2=mandatory) > (input flags): NUMERIC > LOAD: Load up the ENGINE specified by other settings > (input flags): NO_INPUT Why the NO_VCHECK? An engine lib built against 0.9.7x *should* load ok against any 0.9.7y (unless it doesn't, of course:-) but I think it's wise to assume this won't be the case between 0.9.7 and 0.9.8. If that's what you're trying, I wouldn't be surprised if you hit problems. Anyway, dig a little deeper if you can - if need be set a break point at or before eng_dyn.c:433 and go in a step it through. Cheers, Geoff -- Geoff Thorpe [EMAIL PROTECTED] http://www.geoffthorpe.net/ Self-interest and materialistic desire are parts of who we are, but not all. To base a social and economic system on these traits is dangerously fundamentalist. -- Joel Bakan ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
