From 2b59a6ac143d4a83d33b1c795da66bb09fb83850 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 21 Oct 2000 22:43:07 +0000 Subject: [PATCH] There's no reason why app_RAND_load_file() should return 0 when RAND_status() hasn't. Reported by Dale Stimson . --- apps/app_rand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_rand.c b/apps/app_rand.c index 1146f9f7f3..c5d66a3b5f 100644 --- a/apps/app_rand.c +++ b/apps/app_rand.c @@ -152,8 +152,8 @@ int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn) BIO_printf(bio_e,"Consider setting the RANDFILE environment variable to point at a file that\n"); BIO_printf(bio_e,"'random' data can be kept in (the file will be overwritten).\n"); } + return 0; } - return 0; } seeded = 1; return 1; -- 2.25.1