diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-02-27 09:58:53 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-02-27 12:51:33 +0100 |
commit | b93f6ac79c431e4effb3905824bcaef5cbe5e85a (patch) | |
tree | aec2569c97c9b6010cfb2d65558e59f8c78e532a /libcli/smb | |
parent | 18cd0b789e5e9c4108353c4a6762f05f4db788a8 (diff) | |
download | samba-b93f6ac79c431e4effb3905824bcaef5cbe5e85a.tar.gz samba-b93f6ac79c431e4effb3905824bcaef5cbe5e85a.tar.bz2 samba-b93f6ac79c431e4effb3905824bcaef5cbe5e85a.zip |
libcli/smb/smbXcli: remove unused checks from smb2cli_session_create_channel()
metze
Diffstat (limited to 'libcli/smb')
-rw-r--r-- | libcli/smb/smbXcli_base.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c index df0145718e..3478e884e4 100644 --- a/libcli/smb/smbXcli_base.c +++ b/libcli/smb/smbXcli_base.c @@ -4108,17 +4108,6 @@ NTSTATUS smb2cli_session_create_channel(TALLOC_CTX *mem_ctx, struct smbXcli_session **_session2) { struct smbXcli_session *session2; - uint16_t no_sign_flags; - - no_sign_flags = SMB2_SESSION_FLAG_IS_GUEST | SMB2_SESSION_FLAG_IS_NULL; - - if (session1->smb2.session_flags & no_sign_flags) { - return NT_STATUS_INVALID_PARAMETER_MIX; - } - - if (session1->smb2.session_key.length == 0) { - return NT_STATUS_INVALID_PARAMETER_MIX; - } if (session1->smb2.signing_key.length == 0) { return NT_STATUS_INVALID_PARAMETER_MIX; |