aboutsummaryrefslogtreecommitdiffstats
path: root/smbutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'smbutil.c')
-rw-r--r--smbutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/smbutil.c b/smbutil.c
index 74bd5ba2..aa50ed09 100644
--- a/smbutil.c
+++ b/smbutil.c
@@ -197,8 +197,8 @@ void buildSmbNtlmAuthResponse(tSmbNtlmAuthChallenge *challenge, tSmbNtlmAuthResp
*p = '\0';
}
- SMBencrypt(password, challenge->challengeData, lmRespData);
- SMBNTencrypt(password, challenge->challengeData, ntRespData);
+ SMBencrypt((uint8*)password, challenge->challengeData, lmRespData);
+ SMBNTencrypt((uint8*)password, challenge->challengeData, ntRespData);
response->bufIndex = 0;
memcpy(response->ident,"NTLMSSP\0\0\0",8);