1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

fixed bug pointed out by Herb.

(This used to be commit 35a5e9ce4fd60806e652f221e25caa0664b69209)
This commit is contained in:
Andrew Tridgell 1998-10-08 22:48:46 +00:00
parent 809a9de797
commit d57d00005e

View File

@ -432,7 +432,7 @@ void SamOEMhash( unsigned char *data, unsigned char *key, int val)
s_box[ind] = s_box[j];
s_box[j] = tc;
}
for( ind = 0; ind < val ? 516 : 8; ind++)
for( ind = 0; ind < (val ? 516 : 8); ind++)
{
unsigned char tc;
unsigned char t;