In interactive mode only config OpenSSL once.

This commit is contained in:
Dr. Stephen Henson 2006-05-12 17:11:58 +00:00
parent 9540ccdf1f
commit 1bd06bd0c4

View file

@ -1437,6 +1437,10 @@ ENGINE *setup_engine(BIO *err, const char *engine, int debug)
int load_config(BIO *err, CONF *cnf)
{
static int load_config_called = 0;
if (load_config_called)
return 1;
load_config_called = 1;
if (!cnf)
cnf = config;
if (!cnf)