summaryrefslogtreecommitdiff
path: root/source4/libcli/auth/ntlmssp_sign.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-26 02:16:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:16 -0500
commit4b1050a6cf3e6d9f7a8e75dd90ed1ccd52f29abb (patch)
tree17ccfac3fbbde4dc6c48ce01dc530e39c8e8f21a /source4/libcli/auth/ntlmssp_sign.c
parent525a993469f50ccf8cf5a44cb337a06d61f50622 (diff)
downloadsamba-4b1050a6cf3e6d9f7a8e75dd90ed1ccd52f29abb.tar.gz
samba-4b1050a6cf3e6d9f7a8e75dd90ed1ccd52f29abb.tar.bz2
samba-4b1050a6cf3e6d9f7a8e75dd90ed1ccd52f29abb.zip
r2645: converted the NTLMSSP code to the new style of talloc
(This used to be commit b378aae95d4001c4cf4e6e59ed80ee1bd55382ee)
Diffstat (limited to 'source4/libcli/auth/ntlmssp_sign.c')
-rw-r--r--source4/libcli/auth/ntlmssp_sign.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/libcli/auth/ntlmssp_sign.c b/source4/libcli/auth/ntlmssp_sign.c
index 2b9659ae52..5a99f14496 100644
--- a/source4/libcli/auth/ntlmssp_sign.c
+++ b/source4/libcli/auth/ntlmssp_sign.c
@@ -387,14 +387,14 @@ NTSTATUS ntlmssp_sign_init(struct ntlmssp_state *ntlmssp_state)
weak_session_key.length);
/* SEND */
- calc_ntlmv2_key(ntlmssp_state->mem_ctx,
+ calc_ntlmv2_key(ntlmssp_state,
&ntlmssp_state->send_sign_key,
ntlmssp_state->session_key, send_sign_const);
dump_data_pw("NTLMSSP send sign key:\n",
ntlmssp_state->send_sign_key.data,
ntlmssp_state->send_sign_key.length);
- calc_ntlmv2_key(ntlmssp_state->mem_ctx,
+ calc_ntlmv2_key(ntlmssp_state,
&ntlmssp_state->send_seal_key,
weak_session_key, send_seal_const);
dump_data_pw("NTLMSSP send seal key:\n",
@@ -409,14 +409,14 @@ NTSTATUS ntlmssp_sign_init(struct ntlmssp_state *ntlmssp_state)
sizeof(ntlmssp_state->send_seal_hash));
/* RECV */
- calc_ntlmv2_key(ntlmssp_state->mem_ctx,
+ calc_ntlmv2_key(ntlmssp_state,
&ntlmssp_state->recv_sign_key,
ntlmssp_state->session_key, recv_sign_const);
dump_data_pw("NTLMSSP recv sign key:\n",
ntlmssp_state->recv_sign_key.data,
ntlmssp_state->recv_sign_key.length);
- calc_ntlmv2_key(ntlmssp_state->mem_ctx,
+ calc_ntlmv2_key(ntlmssp_state,
&ntlmssp_state->recv_seal_key,
weak_session_key, recv_seal_const);
dump_data_pw("NTLMSSP recv seal key:\n",