There's no reason why app_RAND_load_file() should return 0 when
RAND_status() hasn't. Reported by Dale Stimson <dale@accentre.com>.
This commit is contained in:
parent
48d89b560c
commit
2b59a6ac14
@ -152,9 +152,9 @@ 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,"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");
|
BIO_printf(bio_e,"'random' data can be kept in (the file will be overwritten).\n");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
seeded = 1;
|
seeded = 1;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user