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 file which showed some useful examples. > > What would have been the right way? How would you have done it? > > >