From 38de149e9b7e6150d4410bd964548ee22ffe8199 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 19 Oct 2011 16:33:04 +1100 Subject: s3-seal Remove struct smb_srv_trans_enc_ctx This structure added no value, particularly after the move to gensec. It was added at a time when auth_ntlmssp_state was not available in the client. This changed a while back (the wrapper was extended with client calls), and the move to gensec again reinforced that we do not need the extra complexity. Andrew Bartlett Signed-off-by: Stefan Metzmacher --- source3/smbd/globals.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/globals.c') diff --git a/source3/smbd/globals.c b/source3/smbd/globals.c index 196be17088..043b1da660 100644 --- a/source3/smbd/globals.c +++ b/source3/smbd/globals.c @@ -68,8 +68,8 @@ pid_t background_lpq_updater_pid = -1; ****************************************************************************/ uint32_t common_flags2 = FLAGS2_LONG_PATH_COMPONENTS|FLAGS2_32_BIT_ERROR_CODES|FLAGS2_EXTENDED_ATTRIBUTES; -struct smb_srv_trans_enc_ctx *partial_srv_trans_enc_ctx = NULL; -struct smb_srv_trans_enc_ctx *srv_trans_enc_ctx = NULL; +struct smb_trans_enc_state *partial_srv_trans_enc_ctx = NULL; +struct smb_trans_enc_state *srv_trans_enc_ctx = NULL; /* A stack of security contexts. We include the current context as being the first one, so there is room for another MAX_SEC_CTX_DEPTH more. */ -- cgit