diff options
author | Ulf Möller <ulf@openssl.org> | 2000-02-28 20:19:39 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-02-28 20:19:39 +0000 |
commit | e64dceab743f0c2f4aef5dbc2b0e479c07bd2049 (patch) | |
tree | c6140980f1cacd91674441d1ffc893ab1d03f7a2 /crypto/rand/rand_egd.c | |
parent | c9e1fe33be9d9c60f832c22442cff45bf5a667a5 (diff) | |
download | openssl-e64dceab743f0c2f4aef5dbc2b0e479c07bd2049.zip openssl-e64dceab743f0c2f4aef5dbc2b0e479c07bd2049.tar.gz openssl-e64dceab743f0c2f4aef5dbc2b0e479c07bd2049.tar.bz2 |
Switch for turning on the predictable "random" number generator.
Diffstat (limited to 'crypto/rand/rand_egd.c')
-rw-r--r-- | crypto/rand/rand_egd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_egd.c b/crypto/rand/rand_egd.c index d834408..380c782 100644 --- a/crypto/rand/rand_egd.c +++ b/crypto/rand/rand_egd.c @@ -97,7 +97,7 @@ int RAND_egd(const char *path) buf[1] = 255; write(fd, buf, 2); if (read(fd, buf, 1) != 1) goto err; - if (buf[0] == 0) goto err; + if (buf[0] == 0) goto err; num = read(fd, buf, 255); if (num < 1) goto err; RAND_seed(buf, num); |