summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-14 16:12:45 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-14 16:12:45 +0000
commit2a3cd67074073a38dccb528d2600fb8d88d3b8ed (patch)
treea3dceb2546d07d92b08842025b7a444bd768e61c /source3
parent5a9a3ab3445ff60fa89f496613899d432164712c (diff)
downloadsamba-2a3cd67074073a38dccb528d2600fb8d88d3b8ed.tar.gz
samba-2a3cd67074073a38dccb528d2600fb8d88d3b8ed.tar.bz2
samba-2a3cd67074073a38dccb528d2600fb8d88d3b8ed.zip
16 changed to 8 by mistake in samoemhash.
(This used to be commit ed6ffa4430e3ae6e0c9f49650f53ce79d12af28e)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/smbdes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smbdes.c b/source3/libsmb/smbdes.c
index c0f749ad3b..46b337cda8 100644
--- a/source3/libsmb/smbdes.c
+++ b/source3/libsmb/smbdes.c
@@ -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;