From 487545d48fc0625aab20aa8f46897e2bd622554f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 18 Oct 2011 21:20:01 +1100 Subject: 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 --- source3/libsmb/ntlmssp_wrap.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/ntlmssp_wrap.c b/source3/libsmb/ntlmssp_wrap.c index af5f2c9f68..e18a60b730 100644 --- a/source3/libsmb/ntlmssp_wrap.c +++ b/source3/libsmb/ntlmssp_wrap.c @@ -72,16 +72,6 @@ NTSTATUS auth_ntlmssp_unseal_packet(struct auth_ntlmssp_state *ans, data, length, whole_pdu, pdu_length, sig); } -bool auth_ntlmssp_negotiated_sign(struct auth_ntlmssp_state *ans) -{ - return gensec_have_feature(ans->gensec_security, GENSEC_FEATURE_SIGN); -} - -bool auth_ntlmssp_negotiated_seal(struct auth_ntlmssp_state *ans) -{ - return gensec_have_feature(ans->gensec_security, GENSEC_FEATURE_SEAL); -} - NTSTATUS auth_ntlmssp_set_username(struct auth_ntlmssp_state *ans, const char *user) { -- cgit