summaryrefslogtreecommitdiff
path: root/source4/torture/auth
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/torture/auth
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/torture/auth')
-rw-r--r--source4/torture/auth/ntlmssp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/auth/ntlmssp.c b/source4/torture/auth/ntlmssp.c
index dc4356bac1..a10ca77c53 100644
--- a/source4/torture/auth/ntlmssp.c
+++ b/source4/torture/auth/ntlmssp.c
@@ -27,7 +27,7 @@ BOOL torture_ntlmssp_self_check(int dummy)
DATA_BLOB sig, expected_sig;
NTSTATUS status;
- if (!NT_STATUS_IS_OK(ntlmssp_client_start(&ntlmssp_state))) {
+ if (!NT_STATUS_IS_OK(ntlmssp_client_start(NULL, &ntlmssp_state))) {
return False;
}
@@ -45,7 +45,7 @@ BOOL torture_ntlmssp_self_check(int dummy)
}
data = strhex_to_data_blob("6a43494653");
- ntlmssp_sign_packet(ntlmssp_state, ntlmssp_state->mem_ctx,
+ ntlmssp_sign_packet(ntlmssp_state, ntlmssp_state,
data.data, data.length, data.data, data.length, &sig);
expected_sig = strhex_to_data_blob("01000000e37f97f2544f4d7e00000000");
@@ -64,7 +64,7 @@ BOOL torture_ntlmssp_self_check(int dummy)
ntlmssp_end(&ntlmssp_state);
- if (!NT_STATUS_IS_OK(ntlmssp_client_start(&ntlmssp_state))) {
+ if (!NT_STATUS_IS_OK(ntlmssp_client_start(NULL, &ntlmssp_state))) {
return False;
}
@@ -82,7 +82,7 @@ BOOL torture_ntlmssp_self_check(int dummy)
}
data = strhex_to_data_blob("6a43494653");
- ntlmssp_sign_packet(ntlmssp_state, ntlmssp_state->mem_ctx,
+ ntlmssp_sign_packet(ntlmssp_state, ntlmssp_state,
data.data, data.length, data.data, data.length, &sig);
expected_sig = strhex_to_data_blob("0100000078010900397420fe0e5a0f89");