From: Ulf Möller Date: Thu, 8 Feb 2001 17:45:32 +0000 (+0000) Subject: use <= instead of == X-Git-Tag: OpenSSL_0_9_6a-beta1~48^2~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a71b5abfa4c5515fcfb5b69281e04cf620e0c66c;p=oweals%2Fopenssl.git use <= instead of == --- 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);