summaryrefslogtreecommitdiff
path: root/source3/smbd/seal.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-21 19:13:59 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-03 18:48:02 +1000
commita942401c1f6ee614080cee76c4364afbd729a446 (patch)
treee1cc944765753be2b19529bf64eece16069f9873 /source3/smbd/seal.c
parent9edb9763df07fbceee49d54fd6972c5ffb83d133 (diff)
downloadsamba-a942401c1f6ee614080cee76c4364afbd729a446.tar.gz
samba-a942401c1f6ee614080cee76c4364afbd729a446.tar.bz2
samba-a942401c1f6ee614080cee76c4364afbd729a446.zip
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 <tridge@samba.org>
Diffstat (limited to 'source3/smbd/seal.c')
-rw-r--r--source3/smbd/seal.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}