Hello,

I have written a dynamic engine that implements digest algorithms. The engine got an entry in the openssl.conf file to make it replace the default digest implementation:
./openssl dgst -sha1 my_file.dat

I also added support for some command-line parameters in the engines code. Now I want to know how I can pass arguments to the engine. Something like this:
./openssl dgst -engine my_engine -pre "MY_PARAMETER:value" -sha1 my_file.dat

If I am inside the OpenSSL prompt I can do that, e.g.:
./openssl
engine -vvvv -c -t my_engine -pre "MY_PARAMETER:value"
dgst -engine my_engine -sha1 my_file.dat

I would like to know if it is possible to pass arguments to the engine without entering the OpenSSL prompt.


Thanks in advance,
Torsten
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to