]> git.ipfire.org Git - thirdparty/dhcp.git/blobdiff - dst/prandom.c
[master] Corrects medium impact issues reported by Coverity.
[thirdparty/dhcp.git] / dst / prandom.c
index ea02a27518d3e98c731d92dd980c174e6191f02f..7a24d332cd56293d155bd021b88166df4a8f7697 100644 (file)
@@ -492,8 +492,7 @@ digest_file(dst_work *work)
                if (i > 0) 
                        work->filled += i;
        }
-       else if (i > 0)
-               my_digest(work, buf, (unsigned)i);
+
        my_digest(work, (const u_char *)name, strlen(name));
        return (no + strlen(name));
 }