From a71b5abfa4c5515fcfb5b69281e04cf620e0c66c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulf=20M=C3=B6ller?= Date: Thu, 8 Feb 2001 17:45:32 +0000 Subject: [PATCH] use <= instead of == --- crypto/rand/randfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1