From a942401c1f6ee614080cee76c4364afbd729a446 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 21 Jul 2011 19:13:59 +1000 Subject: s3-ntlmssp Use auth_ntlmssp_*() functions in more places This allows auth_ntlmssp_get_ntlmssp_state() to be removed. Andrew Bartlett Signed-off-by: Andrew Tridgell --- source3/libsmb/ntlmssp_wrap.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'source3/libsmb/ntlmssp_wrap.c') diff --git a/source3/libsmb/ntlmssp_wrap.c b/source3/libsmb/ntlmssp_wrap.c index e9e00d5d48..00aede9ee9 100644 --- a/source3/libsmb/ntlmssp_wrap.c +++ b/source3/libsmb/ntlmssp_wrap.c @@ -88,12 +88,6 @@ bool auth_ntlmssp_negotiated_seal(struct auth_ntlmssp_state *ans) return ans->ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_SEAL; } -struct ntlmssp_state *auth_ntlmssp_get_ntlmssp_state( - struct auth_ntlmssp_state *ans) -{ - return ans->ntlmssp_state; -} - /* Needed for 'smb username' processing */ const char *auth_ntlmssp_get_username(struct auth_ntlmssp_state *ans) { @@ -133,6 +127,11 @@ void auth_ntlmssp_or_flags(struct auth_ntlmssp_state *ans, uint32_t flags) ans->ntlmssp_state->neg_flags |= flags; } +void auth_ntlmssp_want_feature(struct auth_ntlmssp_state *ans, uint32_t feature) +{ + ntlmssp_want_feature(ans->ntlmssp_state, feature); +} + DATA_BLOB auth_ntlmssp_get_session_key(struct auth_ntlmssp_state *ans) { return ans->ntlmssp_state->session_key; -- cgit