1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

16 changed to 8 by mistake in samoemhash.

This commit is contained in:
Luke Leighton -
parent aa9dd697d4
commit ed6ffa4430

View File

@ -438,7 +438,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 : 16); ind++)
{
unsigned char tc;
unsigned char t;