From 1bd06bd0c4028cd05ca8b09db3ca2579f6232ca5 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 12 May 2006 17:11:58 +0000 Subject: [PATCH] In interactive mode only config OpenSSL once. --- apps/apps.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.25.1