Hello

 Looks like OPENSSL_config have a bug as result users can't set
alternative path to openssl.cnf file.
If you take a look on implementation of void OPENSSL_config(const char
*config_name) it call a
CONF_modules_load_file(NULL, config_name, CONF_MFLAGS_DEFAULT_SECTION |
CONF_MFLAGS_IGNORE_MISSING_FILE);
As you can see "config_name" put to "CONF_modules_load_file" as second
argument, but if you take a look on:
int CONF_modules_load_file(const char *filename, const char *appname,
unsigned long flags)

Looks like CONF_modules_load_file expected config file name as FIRST
argument (instead of second).

Best Regards
Alex


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4562
Please log in as guest with password guest if prompted

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to