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/rpc_server | |
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/rpc_server')
-rw-r--r-- | source3/rpc_server/dcesrv_ntlmssp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/dcesrv_ntlmssp.c b/source3/rpc_server/dcesrv_ntlmssp.c index dcbfafb1c2..221b3bfbbe 100644 --- a/source3/rpc_server/dcesrv_ntlmssp.c +++ b/source3/rpc_server/dcesrv_ntlmssp.c @@ -97,13 +97,13 @@ NTSTATUS ntlmssp_server_step(struct auth_ntlmssp_state *ctx, NTSTATUS ntlmssp_server_check_flags(struct auth_ntlmssp_state *ctx, bool do_sign, bool do_seal) { - if (do_sign && !auth_ntlmssp_negotiated_sign(ctx)) { + if (do_sign && !gensec_have_feature(ctx->gensec_security, GENSEC_FEATURE_SIGN)) { DEBUG(1, (__location__ "Integrity was requested but client " "failed to negotiate signing.\n")); return NT_STATUS_ACCESS_DENIED; } - if (do_seal && !auth_ntlmssp_negotiated_seal(ctx)) { + if (do_seal && !gensec_have_feature(ctx->gensec_security, GENSEC_FEATURE_SEAL)) { DEBUG(1, (__location__ "Privacy was requested but client " "failed to negotiate sealing.\n")); return NT_STATUS_ACCESS_DENIED; |