diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-05-12 17:11:58 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-05-12 17:11:58 +0000 |
commit | 1bd06bd0c4028cd05ca8b09db3ca2579f6232ca5 (patch) | |
tree | 1d1b69baf219e05d2bfa3f6b9767a89648fcaa6e /apps/apps.c | |
parent | 9540ccdf1f845497c3e0bf9126866c9038838a9a (diff) |
In interactive mode only config OpenSSL once.
Diffstat (limited to 'apps/apps.c')
-rw-r--r-- | apps/apps.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/apps.c b/apps/apps.c index c4a7f12e73..d2b0c565a0 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -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) |