So what are the purpose of the ENGINE_ctrl_* functions? Assuming I don't use the auto-config file, what steps would I need to do to get the crypto card working? I already have a configuration file so I don't want to have another one. I'd like to keep my app flexible enough that I can use whatever crypt accelerator card the user has.
Thanks for all the help. Ed > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Friday, April 08, 2005 4:23 AM > To: [email protected] > Subject: Re: Use of Engines > > On Thu, Apr 07, 2005, Edward Chan wrote: > > > Are there docs on this? I was just going by the example in > "Network > > Security with OpenSSL". It looked so simple. > > > > ENGINE* e = ENGINE_by_id("ubsec"); > > ENGINE_set_default(e, ENGINE_METHOD_ALL); > > > > And that is the way it looks in most other examples I've seen. > > Apache, Stunnel, etc. If someone could point me to some > decent docs > > and examples, I'll be forever in your debt. > > > > You might want to look into the use of the auto config > mechanism. This will allow simple use of ENGINEs (and > possibly more advanced in future) by placing appropriate > parameters in openssl.cnf or some other config file. > > The 'openssl' application already supports autoconfig so you > can use that to see if you've got the openssl.cnf configuration right. > > For the config file format see: > > http://www.openssl.org/docs/apps/config.html#OPENSSL_LIBRARY_C > ONFIGURATION > > For the functions an application needs to call see: > > http://www.openssl.org/docs/crypto/OPENSSL_config.html > > Steve. > -- > Dr Stephen N. Henson. Email, S/MIME and PGP keys: see > homepage OpenSSL project core developer and freelance consultant. > Funding needed! Details on homepage. > Homepage: http://www.drh-consultancy.demon.co.uk > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [email protected] > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
