diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-21 19:13:59 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-03 18:48:02 +1000 |
commit | a942401c1f6ee614080cee76c4364afbd729a446 (patch) | |
tree | e1cc944765753be2b19529bf64eece16069f9873 /source3/libsmb/ntlmssp_wrap.c | |
parent | 9edb9763df07fbceee49d54fd6972c5ffb83d133 (diff) | |
download | samba-a942401c1f6ee614080cee76c4364afbd729a446.tar.gz |
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 <tridge@samba.org>
Diffstat (limited to 'source3/libsmb/ntlmssp_wrap.c')
-rw-r--r-- | source3/libsmb/ntlmssp_wrap.c | 11 |
1 files changed, 5 insertions, 6 deletions
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; |