diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-10-18 21:55:24 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-10-21 08:43:38 +0200 |
commit | 0a0839821adb8a4e959e10128e9c103f82e0ff80 (patch) | |
tree | 89e62a0d47b74330cf735e61d9ca83b41a69f1a0 /source3/libsmb | |
parent | 3f079885b21f22ec4f27cccaa6f59ebce0e56067 (diff) | |
download | samba-0a0839821adb8a4e959e10128e9c103f82e0ff80.tar.gz samba-0a0839821adb8a4e959e10128e9c103f82e0ff80.tar.xz samba-0a0839821adb8a4e959e10128e9c103f82e0ff80.zip |
s3-ntlmssp Remove auth_ntlmssp_session_key()
We now just call the gensec_session_key() directly.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/ntlmssp_wrap.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/libsmb/ntlmssp_wrap.c b/source3/libsmb/ntlmssp_wrap.c index 557b6e02b37..5b11db0ee4d 100644 --- a/source3/libsmb/ntlmssp_wrap.c +++ b/source3/libsmb/ntlmssp_wrap.c @@ -47,17 +47,6 @@ NTSTATUS auth_ntlmssp_set_password(struct auth_ntlmssp_state *ans, return NT_STATUS_OK; } -DATA_BLOB auth_ntlmssp_get_session_key(struct auth_ntlmssp_state *ans, TALLOC_CTX *mem_ctx) -{ - DATA_BLOB session_key; - NTSTATUS status = gensec_session_key(ans->gensec_security, mem_ctx, &session_key); - if (NT_STATUS_IS_OK(status)) { - return session_key; - } else { - return data_blob_null; - } -} - static NTSTATUS gensec_ntlmssp3_client_update(struct gensec_security *gensec_security, TALLOC_CTX *out_mem_ctx, struct tevent_context *ev, |