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:
809a9de
)
fixed bug pointed out by Herb.
author
Andrew Tridgell
<tridge@samba.org>
Thu, 8 Oct 1998 22:48:46 +0000
(22:48 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 8 Oct 1998 22:48:46 +0000
(22:48 +0000)
(This used to be commit
35a5e9ce4fd60806e652f221e25caa0664b69209
)
source3/libsmb/smbdes.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/smbdes.c
b/source3/libsmb/smbdes.c
index e9f23295500b52c06283da9771f6126de361ddc6..1d6c6bc0a686836331987ce7a9e2f7c4ae9b56f4 100644
(file)
--- a/
source3/libsmb/smbdes.c
+++ b/
source3/libsmb/smbdes.c
@@
-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;