Re: Pass parameter to an engine without entering OpenSSL Prompt

2011-03-20 Thread Andrey Kulikov
Do it by example! :-) Take a look at engines\ccgost\gost_ctl.c It handled "CRYPT_PARAMS" as a parameter from config file. Because all you said was "can be done via openssl.conf". > I basically grep'ed the openssl source folder for "default_algorithms" and > ended up reading through config.pod fi

Re: Pass parameter to an engine without entering OpenSSL Prompt

2011-02-16 Thread Torsten Weber
On 02/15/2011 05:01 PM, Dr. Stephen Henson wrote: It can be done in the openssl.cnf file but not in general for all openssl utility subcommands. Steve. Thanks, that worked. In my engines section I can write: MY_PARAMETER = value MY_PARAMETER2 = EMPTY One additional (meta-)question: Who should

Re: Pass parameter to an engine without entering OpenSSL Prompt

2011-02-15 Thread Dr. Stephen Henson
On Tue, Feb 15, 2011, Torsten Weber wrote: > 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 so