summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-01-25 01:11:10 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-01-25 01:11:10 +0000
commitb31ec210fc27f8ba03ee34367d50a83aab557847 (patch)
treed5e65edfbaff37650018da61c715673612e44765 /source3/libsmb
parent181f2be495801c2a1d458b99ed2cd2fdff86c2a3 (diff)
downloadsamba-b31ec210fc27f8ba03ee34367d50a83aab557847.tar.gz
samba-b31ec210fc27f8ba03ee34367d50a83aab557847.tar.bz2
samba-b31ec210fc27f8ba03ee34367d50a83aab557847.zip
Fix the initialisation vectors for NTLM2, so that they at least make sense,
even if they don't work yet. Andrew Bartlett (This used to be commit 636b98dab9bc27f55bdc65d7dedb58cdf8d8563b)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/ntlmssp_sign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/ntlmssp_sign.c b/source3/libsmb/ntlmssp_sign.c
index 6ce7a76743..2347619e57 100644
--- a/source3/libsmb/ntlmssp_sign.c
+++ b/source3/libsmb/ntlmssp_sign.c
@@ -362,14 +362,14 @@ NTSTATUS ntlmssp_sign_init(NTLMSSP_STATE *ntlmssp_state)
calc_ntlmv2_hash(ntlmssp_state->recv_sign_hash,
ntlmssp_state->recv_sign_const,
- ntlmssp_state->session_key, send_sign_const);
+ ntlmssp_state->session_key, recv_sign_const);
dump_data_pw("NTLMSSP receive sign hash:\n",
ntlmssp_state->recv_sign_hash,
sizeof(ntlmssp_state->recv_sign_hash));
calc_ntlmv2_hash(ntlmssp_state->recv_seal_hash,
ntlmssp_state->recv_seal_const,
- ntlmssp_state->session_key, send_seal_const);
+ ntlmssp_state->session_key, recv_seal_const);
dump_data_pw("NTLMSSP receive seal hash:\n",
ntlmssp_state->recv_sign_hash,
sizeof(ntlmssp_state->recv_sign_hash));