git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa9dd69
)
16 changed to 8 by mistake in samoemhash.
author
Luke Leighton
<lkcl@samba.org>
Wed, 14 Oct 1998 16:12:45 +0000
(16:12 +0000)
committer
Luke Leighton
<lkcl@samba.org>
Wed, 14 Oct 1998 16:12:45 +0000
(16:12 +0000)
source/libsmb/smbdes.c
patch
|
blob
|
history
diff --git
a/source/libsmb/smbdes.c
b/source/libsmb/smbdes.c
index c0f749ad3b32248d186a73f4da21f0c690b8b795..46b337cda88921c2dd995516a9dbe8a1c1f4f17f 100644
(file)
--- a/
source/libsmb/smbdes.c
+++ b/
source/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;