Commit 040a0347 authored by Dr. Matthias St. Pierre's avatar Dr. Matthias St. Pierre
Browse files

randfile.c: fix a Coverity warning

parent 99540ec7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ int RAND_load_file(const char *file, long bytes)

    if (bytes < 0) {
        if (S_ISREG(sb.st_mode))
            bytes = (sb.st_size <= LONG_MAX) ? sb.st_size : LONG_MAX;
            bytes = sb.st_size;
        else
            bytes = RAND_DRBG_STRENGTH;
    }