aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_rand.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-10-21 22:43:07 +0000
committerRichard Levitte <levitte@openssl.org>2000-10-21 22:43:07 +0000
commit2b59a6ac143d4a83d33b1c795da66bb09fb83850 (patch)
treee81022507162ceabb007b3f7ec7206accb54d544 /apps/app_rand.c
parent48d89b560cc134ecba07f5806e212fc01b47657d (diff)
downloadopenssl-2b59a6ac143d4a83d33b1c795da66bb09fb83850.tar.gz
There's no reason why app_RAND_load_file() should return 0 when
RAND_status() hasn't. Reported by Dale Stimson <dale@accentre.com>.
Diffstat (limited to 'apps/app_rand.c')
-rw-r--r--apps/app_rand.c2
1 files changed, 1 insertions, 1 deletions
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;