diff options
author | Ulf Möller <ulf@openssl.org> | 2001-02-08 17:45:32 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2001-02-08 17:45:32 +0000 |
commit | a71b5abfa4c5515fcfb5b69281e04cf620e0c66c (patch) | |
tree | 77eba2e3a58bc2146ab55108ea76b288413c53e4 /crypto/rand/randfile.c | |
parent | 928cc3a6de4606faece84ee1468a7ff2b7fc521e (diff) |
use <= instead of ==
Diffstat (limited to 'crypto/rand/randfile.c')
-rw-r--r-- | crypto/rand/randfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c index fe4f2a9a21..02f16aa810 100644 --- a/crypto/rand/randfile.c +++ b/crypto/rand/randfile.c @@ -120,7 +120,7 @@ int RAND_load_file(const char *file, long bytes) if (bytes > 0) { bytes-=n; - if (bytes == 0) break; + if (bytes <= 0) break; } } fclose(in); |