diff options
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/smb2cli.h | 2 | ||||
-rw-r--r-- | source3/libsmb/smb2cli_negprot.c | 30 |
2 files changed, 0 insertions, 32 deletions
diff --git a/source3/libsmb/smb2cli.h b/source3/libsmb/smb2cli.h index de87bf26da..a022c86d5b 100644 --- a/source3/libsmb/smb2cli.h +++ b/source3/libsmb/smb2cli.h @@ -24,8 +24,6 @@ struct smbXcli_conn; struct smbXcli_session; struct cli_state; -NTSTATUS smb2cli_negprot(struct cli_state *cli); - struct tevent_req *smb2cli_session_setup_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct smbXcli_conn *conn, diff --git a/source3/libsmb/smb2cli_negprot.c b/source3/libsmb/smb2cli_negprot.c deleted file mode 100644 index 0e3bcebeaa..0000000000 --- a/source3/libsmb/smb2cli_negprot.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - Unix SMB/CIFS implementation. - smb2 lib - Copyright (C) Volker Lendecke 2011 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#include "includes.h" -#include "client.h" -#include "../libcli/smb/smbXcli_base.h" -#include "smb2cli.h" - -NTSTATUS smb2cli_negprot(struct cli_state *cli) -{ - return smbXcli_negprot(cli->conn, cli->timeout, - PROTOCOL_SMB2_02, PROTOCOL_SMB2_02); -} - |