From: divverent Date: Wed, 4 Mar 2015 17:31:23 +0000 (+0000) Subject: Fix a mdfour.c oops, sorry. Forgot the argument. X-Git-Tag: xonotic-v0.8.1~8^2~15 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ef1593610d977fe10d1f9225ab4f9111b02ef3fc;p=xonotic%2Fdarkplaces.git Fix a mdfour.c oops, sorry. Forgot the argument. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12188 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/mdfour.c b/mdfour.c index 85f6c9e8..36180c6e 100644 --- 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); } }