Don't load same config file twice.
[openssl.git] / apps / ts.c
index d55d2397aa1b8d2d59cb2e19f0ca5b15da6fec5d..8a7b5ed9b947f5b4688b9fe3594680666671e16d 100644 (file)
--- a/apps/ts.c
+++ b/apps/ts.c
@@ -339,7 +339,7 @@ int ts_main(int argc, char **argv)
     }
 
     conf = load_config_file(configfile);
-    if (!app_load_modules(conf))
+    if (configfile != default_config_file && !app_load_modules(conf))
         goto end;
 
     /* Check parameter consistency and execute the appropriate function. */