]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix a mdfour.c oops, sorry. Forgot the argument.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 4 Mar 2015 17:31:23 +0000 (17:31 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 4 Mar 2015 17:31:23 +0000 (17:31 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12188 d7cf8633-e32d-0410-b094-e92efae38249

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);
        }
 }