summaryrefslogtreecommitdiff
path: root/source3/libsmb/smbdes.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/smbdes.c')
-rw-r--r--source3/libsmb/smbdes.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/libsmb/smbdes.c b/source3/libsmb/smbdes.c
index 9675401f14..e4f8280f9b 100644
--- a/source3/libsmb/smbdes.c
+++ b/source3/libsmb/smbdes.c
@@ -329,11 +329,6 @@ void cred_hash2(unsigned char *out,unsigned char *in,unsigned char *key)
{
unsigned char buf[8];
static unsigned char key2[8];
- int i;
-
- for (i=0;i<8;i++) {
- key2[i] = 0;
- }
smbhash(buf, in, key);
key2[0] = key[7];