diff options
author | Richard Levitte <levitte@openssl.org> | 2000-10-21 22:43:07 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-10-21 22:43:07 +0000 |
commit | 2b59a6ac143d4a83d33b1c795da66bb09fb83850 (patch) | |
tree | e81022507162ceabb007b3f7ec7206accb54d544 | |
parent | 48d89b560cc134ecba07f5806e212fc01b47657d (diff) | |
download | openssl-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>.
-rw-r--r-- | apps/app_rand.c | 2 |
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; |