From: Dr. Stephen Henson Date: Fri, 12 May 2006 17:11:58 +0000 (+0000) Subject: In interactive mode only config OpenSSL once. X-Git-Tag: OpenSSL_0_9_8k^2~1333 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1bd06bd0c4028cd05ca8b09db3ca2579f6232ca5;p=oweals%2Fopenssl.git In interactive mode only config OpenSSL once. --- 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)