How to use CONF_modules_load_file
beldmit at gmail.com
Sat May 25 10:48:49 UTC 2019
If OPENSSL_config was sufficient for your purposes, I think that
OPENSSL_init_crypto with flag OPENSSL_INIT_LOAD_CONFIG will do all you need.
On Fri, May 24, 2019 at 10:49 PM Subrata Dasgupta via openssl-users <
openssl-users at openssl.org> wrote:
> Hi All,
> In my application I am using OPENSSL_config(NULL); call to initialize the
> configuration. But it seems from openssl-1.1.1 this call is deprecated and
> we should use CONF_modules_load_file call.
> But it will be difficult to add new configuration file for openssl within
> my application. It will be perfect if some how I can use basic default
> configuration just like OPENSSL_config do. But unfortunately every time
> CONF_modules_load_file call is failing . I have tried with NULL for config
> file name and app name in parameters of CONF_modules_load_file call. Tried
> with different flag combination as well. But all in vain. Please help
SY, Dmitry Belyavsky
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openssl-users