summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-04-03 17:46:41 +0200
committerVolker Lendecke <vlendec@samba.org>2011-04-03 18:32:51 +0200
commite53dfebba0cd187f8565b79c47e7c0b2e7eba4f9 (patch)
tree0e06bcddf291d77afa6da112697d6e7a57f6b3b4
parent5cb8f6b9f1129ba4cd55a812411d38e7fbaa20f1 (diff)
downloadsamba-e53dfebba0cd187f8565b79c47e7c0b2e7eba4f9.tar.gz
samba-e53dfebba0cd187f8565b79c47e7c0b2e7eba4f9.tar.bz2
samba-e53dfebba0cd187f8565b79c47e7c0b2e7eba4f9.zip
s3: Remove some unused code
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 18:32:51 CEST 2011 on sn-devel-104
-rw-r--r--source3/libsmb/cliconnect.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index b08d47df8d..aa9207f008 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -68,7 +68,6 @@ static NTSTATUS cli_session_setup_lanman2(struct cli_state *cli,
const char *pass, size_t passlen,
const char *workgroup)
{
- DATA_BLOB session_key = data_blob_null;
DATA_BLOB lm_response = data_blob_null;
NTSTATUS status;
fstring pword;
@@ -143,12 +142,6 @@ static NTSTATUS cli_session_setup_lanman2(struct cli_state *cli,
if (!NT_STATUS_IS_OK(status)) {
return status;
}
-
- if (session_key.data) {
- /* Have plaintext orginal */
- cli_set_session_key(cli, session_key);
- }
-
return NT_STATUS_OK;
}