RAND_load_file(..., -1) now means "read the complete file";
authorBodo Möller <bodo@openssl.org>
Mon, 24 Jan 2000 10:03:24 +0000 (10:03 +0000)
committerBodo Möller <bodo@openssl.org>
Mon, 24 Jan 2000 10:03:24 +0000 (10:03 +0000)
commit05ccd698b986131a217f85281977e767673b27d1
treee1885e54a8cff160871b0a2a95e94437da6daccb
parentf13b93d3b46d5fa0a2b0c4ec9854a3962a73d198
RAND_load_file(..., -1) now means "read the complete file";
this is what we now use to read $RANDFILE / $HOME/.rnd.
(Previously, after 'cat'ting lots of stuff into .rnd
only the first MB would be looked at.)

Bugfix for apps/enc.c: Continue if RAND_pseudo_bytes returns 0
(only -1 is an error).
apps/app_rand.c
apps/enc.c
crypto/rand/randfile.c
doc/crypto/RAND_load_file.pod