From a942401c1f6ee614080cee76c4364afbd729a446 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 21 Jul 2011 19:13:59 +1000 Subject: s3-ntlmssp Use auth_ntlmssp_*() functions in more places This allows auth_ntlmssp_get_ntlmssp_state() to be removed. Andrew Bartlett Signed-off-by: Andrew Tridgell --- source3/smbd/seal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/seal.c') diff --git a/source3/smbd/seal.c b/source3/smbd/seal.c index f1c0f9cf3b..e6b683d97f 100644 --- a/source3/smbd/seal.c +++ b/source3/smbd/seal.c @@ -96,7 +96,7 @@ static NTSTATUS make_auth_ntlmssp(const struct tsocket_address *remote_address, * We must remember to update the pointer copy for the common * functions after any auth_ntlmssp_start/auth_ntlmssp_end. */ - ec->es->s.ntlmssp_state = auth_ntlmssp_get_ntlmssp_state(ec->auth_ntlmssp_state); + ec->es->s.auth_ntlmssp_state = ec->auth_ntlmssp_state; return status; } @@ -114,7 +114,7 @@ static void destroy_auth_ntlmssp(struct smb_srv_trans_enc_ctx *ec) if (ec->auth_ntlmssp_state) { TALLOC_FREE(ec->auth_ntlmssp_state); /* The auth_ntlmssp_end killed this already. */ - ec->es->s.ntlmssp_state = NULL; + ec->es->s.auth_ntlmssp_state = NULL; } } -- cgit