mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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 636b98dab9
)
This commit is contained in:
parent
181f2be495
commit
b31ec210fc
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user