mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
fixed bug pointed out by Herb.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user