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:
parent
809a9de797
commit
d57d00005e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user