diff options
author | Jeremy Allison <jra@samba.org> | 2001-06-20 19:55:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-06-20 19:55:59 +0000 |
commit | 3f1254bee1b3cc8cce1e17be6f0250090f579417 (patch) | |
tree | 931ea411eafa5e7f1f88c82b52f0eb9f2ac6ce53 /source3/libsmb/smbdes.c | |
parent | 6fb063b4d5dfb1b201cb4531855662997ca02dbf (diff) | |
download | samba-3f1254bee1b3cc8cce1e17be6f0250090f579417.tar.gz samba-3f1254bee1b3cc8cce1e17be6f0250090f579417.tar.xz samba-3f1254bee1b3cc8cce1e17be6f0250090f579417.zip |
Fixed W2K SP2 joining a Samba PDC hosted domain.
Jermey.
(This used to be commit 05a2911403a0710d994a618e72743205a3b0b87a)
Diffstat (limited to 'source3/libsmb/smbdes.c')
-rw-r--r-- | source3/libsmb/smbdes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smbdes.c b/source3/libsmb/smbdes.c index d0e1c6e85fb..7e8a9a5b89e 100644 --- a/source3/libsmb/smbdes.c +++ b/source3/libsmb/smbdes.c @@ -381,7 +381,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 : 16); ind++) + for( ind = 0; ind < val; ind++) { unsigned char tc; unsigned char t; |