From dee845eb70379feae89940e9535541f7957c60d9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 2 Aug 2011 10:24:28 +1000 Subject: s3-ntlmssp Add mem_ctx argument to auth_ntlmssp_get_session_key() --- source3/rpc_client/cli_pipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/rpc_client') diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index d71a106019..9d0abfc612 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -3287,8 +3287,8 @@ NTSTATUS cli_get_session_key(TALLOC_CTX *mem_ctx, case DCERPC_AUTH_TYPE_NTLMSSP: ntlmssp_ctx = talloc_get_type_abort(a->auth_ctx, struct auth_ntlmssp_state); - sk = auth_ntlmssp_get_session_key(ntlmssp_ctx); - make_dup = true; + sk = auth_ntlmssp_get_session_key(ntlmssp_ctx, mem_ctx); + make_dup = false; break; case DCERPC_AUTH_TYPE_KRB5: gse_ctx = talloc_get_type_abort(a->auth_ctx, -- cgit