From a0a82324f965bbcc4faed4e1ee3fcaf81ea52166 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 12 Oct 2015 12:40:15 +0100 Subject: Centralise loading default apps config file Loading the config file after processing command line options can cause problems, e.g. where an engine provides new ciphers/digests these are not then recoginised on the command line. Move the default config file loading to before the command line option processing. Whilst we're doing this we might as well centralise this instead of doing it individually for each application. Finally if we do it before the OpenSSL_add_ssl_algorithms() call then ciphersuites provided by an engine (e.g. GOST) can be available to the apps. RT#4085 RT#4086 Reviewed-by: Richard Levitte --- apps/rsautl.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'apps/rsautl.c') diff --git a/apps/rsautl.c b/apps/rsautl.c index 84a1de1ae9..5d6bdc0242 100644 --- a/apps/rsautl.c +++ b/apps/rsautl.c @@ -214,9 +214,6 @@ int rsautl_main(int argc, char **argv) goto end; } - if (!app_load_modules(NULL)) - goto end; - /* FIXME: seed PRNG only if needed */ app_RAND_load_file(NULL, 0); -- cgit v1.2.3