password hash endianess fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5765 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Glen Masgai
2010-10-18 17:57:18 +00:00
parent aac703766b
commit 527d733688
-8
View File
@@ -146,14 +146,6 @@ namespace tiger
while(j < 56) temp[j++] = 0;
*(chunk *)(temp+56) = (chunk)length<<3;
compress((chunk *)temp, val.chunks);
if(!*(const uchar *)&islittleendian)
{
loopk(3)
{
uchar *c = &val.bytes[k*sizeof(chunk)];
loopl(sizeof(chunk)/2) swap(c[l], c[sizeof(chunk)-1-l]);
}
}
}
}