diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-09 14:28:46 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-03-09 14:31:24 +1100 |
commit | 239c7a355c2caec095e649ec3ccb7102fe93de67 (patch) | |
tree | 3d1f915d4e74bd252b893735cbfa50eac1a56e3d /source3 | |
parent | b42825fdae2562e31fff6c256a62162020cd084a (diff) | |
download | samba-239c7a355c2caec095e649ec3ccb7102fe93de67.tar.gz samba-239c7a355c2caec095e649ec3ccb7102fe93de67.tar.bz2 samba-239c7a355c2caec095e649ec3ccb7102fe93de67.zip |
auth/ntlmssp: Remove gensec_security element from gensec_ntlmssp_state
This just means there is one less pointer to ensure we initialise.
Andrew Bartlett
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/ntlmssp_wrap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/ntlmssp_wrap.c b/source3/libsmb/ntlmssp_wrap.c index c0b1307905..9ce4b12645 100644 --- a/source3/libsmb/ntlmssp_wrap.c +++ b/source3/libsmb/ntlmssp_wrap.c @@ -93,13 +93,13 @@ static NTSTATUS gensec_ntlmssp3_client_start(struct gensec_security *gensec_secu return nt_status; } - if (gensec_ntlmssp->gensec_security->want_features & GENSEC_FEATURE_SESSION_KEY) { + if (gensec_security->want_features & GENSEC_FEATURE_SESSION_KEY) { gensec_ntlmssp->ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN; } - if (gensec_ntlmssp->gensec_security->want_features & GENSEC_FEATURE_SIGN) { + if (gensec_security->want_features & GENSEC_FEATURE_SIGN) { gensec_ntlmssp->ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN; } - if (gensec_ntlmssp->gensec_security->want_features & GENSEC_FEATURE_SEAL) { + if (gensec_security->want_features & GENSEC_FEATURE_SEAL) { gensec_ntlmssp->ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN; gensec_ntlmssp->ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SEAL; } |