Thanks for highlighting this. I see that cmd's of type ENGINE_CMD_FLAG_STRING, ENGINE_CMD_FLAG_NUMERIC and
ENGINE_CMD_FLAG_NO_INPUT could be expressed easily as strings ('EMPTY'
for ENGINE_CMD_FLAG_NO_INPUT) in the conf file, but how about
ENGINE_CMD_FLAG_INTERNAL? How do I express a function callback for a
cmd of type ENGINE_CMD_FLAG_INTERNAL?



Dr. Stephen Henson wrote:
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_CONFIGURATION

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]

Reply via email to