diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-10-18 21:20:01 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-10-21 08:43:18 +0200 |
commit | 487545d48fc0625aab20aa8f46897e2bd622554f (patch) | |
tree | 2e491335f0fdacd499a291029c4dfdb82fbb3c6a /source3/smbd | |
parent | 083025ccd53fe3ee90fcc81eb8d4c566e11fd6ac (diff) | |
download | samba-487545d48fc0625aab20aa8f46897e2bd622554f.tar.gz samba-487545d48fc0625aab20aa8f46897e2bd622554f.tar.bz2 samba-487545d48fc0625aab20aa8f46897e2bd622554f.zip |
s3-ntlmssp Remove auth_ntlmssp_negotiated_sign() and auth_ntlmssp_negotiated_seal()
We now just call the gensec_have_feature() directly.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/seal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/seal.c b/source3/smbd/seal.c index 73efc6ceff..f1508d4d4f 100644 --- a/source3/smbd/seal.c +++ b/source3/smbd/seal.c @@ -761,11 +761,11 @@ static NTSTATUS check_enc_good(struct smb_srv_trans_enc_ctx *ec) } if (ec->es->smb_enc_type == SMB_TRANS_ENC_NTLM) { - if (!auth_ntlmssp_negotiated_sign((ec->auth_ntlmssp_state))) { + if (!gensec_have_feature(ec->auth_ntlmssp_state->gensec_security, GENSEC_FEATURE_SIGN)) { return NT_STATUS_INVALID_PARAMETER; } - if (!auth_ntlmssp_negotiated_seal((ec->auth_ntlmssp_state))) { + if (!gensec_have_feature(ec->auth_ntlmssp_state->gensec_security, GENSEC_FEATURE_SEAL)) { return NT_STATUS_INVALID_PARAMETER; } } |