]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - mdfour.c
Add more CHECKGLERROR calls, and clean up a few obsolete code scraps.
[xonotic/darkplaces.git] / mdfour.c
index 85f6c9e85042505ebc4062341b759472a09bb4c0..36180c6e74b957392a69391c938f20924da9599c 100644 (file)
--- a/mdfour.c
+++ b/mdfour.c
@@ -148,13 +148,13 @@ static void mdfour_tail(struct mdfour *md, const unsigned char *in, int n)
        if (n <= 55) {
                copy4(buf+56, b);
                copy64(M, buf);
-               mdfour64(M);
+               mdfour64(md, M);
        } else {
                copy4(buf+120, b);
                copy64(M, buf);
-               mdfour64(M);
+               mdfour64(md, M);
                copy64(M, buf+64);
-               mdfour64(M);
+               mdfour64(md, M);
        }
 }