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 (from parent 1:
5a9a3ab
)
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)
(This used to be commit
ed6ffa4430e3ae6e0c9f49650f53ce79d12af28e
)
source3/libsmb/smbdes.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/smbdes.c
b/source3/libsmb/smbdes.c
index c0f749ad3b32248d186a73f4da21f0c690b8b795..46b337cda88921c2dd995516a9dbe8a1c1f4f17f 100644
(file)
--- 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;
}
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;
{
unsigned char tc;
unsigned char t;