diff options
Diffstat (limited to 'source/libsmb/smbdes.c')
-rw-r--r-- | source/libsmb/smbdes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/libsmb/smbdes.c b/source/libsmb/smbdes.c index cf46e53ff5b..4daf616588d 100644 --- a/source/libsmb/smbdes.c +++ b/source/libsmb/smbdes.c @@ -347,13 +347,13 @@ void cred_hash2(unsigned char *out,unsigned char *in,unsigned char *key) smbhash(out, buf, key2, 1); } -void cred_hash3(unsigned char *out,unsigned char *in,unsigned char *key) +void cred_hash3(unsigned char *out,unsigned char *in,unsigned char *key, int forw) { static unsigned char key2[8]; - smbhash(out, in, key, 0); + smbhash(out, in, key, forw); key2[0] = key[7]; - smbhash(out + 8, in + 8, key2, 0); + smbhash(out + 8, in + 8, key2, forw); } void SamOEMhash( unsigned char *data, unsigned char *key, int val) |