From 296f54ee211edbf8d21479091b4c20a9ee7698ad Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 29 May 2015 08:07:10 +0200 Subject: Restore module loading The module loading feature got broken a while ago, so restore it, but have it a bit more explicit this time around. Reviewed-by: Stephen Henson --- apps/rand.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/rand.c') diff --git a/apps/rand.c b/apps/rand.c index 498e7dae70..432e784496 100644 --- a/apps/rand.c +++ b/apps/rand.c @@ -126,6 +126,9 @@ int rand_main(int argc, char **argv) if (sscanf(argv[0], "%d", &num) != 1 || num < 0) goto opthelp; + if (!app_load_modules(NULL)) + goto end; + app_RAND_load_file(NULL, (inrand != NULL)); if (inrand != NULL) BIO_printf(bio_err, "%ld semi-random bytes loaded\n", -- cgit v1.2.3