diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-08-13 09:44:06 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-08-14 13:13:49 +0200 |
commit | be92e7fc11c9ee55beacf8c6cc019539d3d7c486 (patch) | |
tree | dcddb0881eea8bcb9fdbeb860a73ed15880f3935 /source4 | |
parent | be0a45d865dbb78c0a82e6bcebebbbbdb4ecb2d1 (diff) | |
download | samba-be92e7fc11c9ee55beacf8c6cc019539d3d7c486.tar.gz samba-be92e7fc11c9ee55beacf8c6cc019539d3d7c486.tar.bz2 samba-be92e7fc11c9ee55beacf8c6cc019539d3d7c486.zip |
libcli/smb2: we don't need check the same thing twice...
metze
(This used to be commit 1380fb954a7d9d4b543c4650a060fef9f357af7b)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/smb2/signing.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/libcli/smb2/signing.c b/source4/libcli/smb2/signing.c index 0d655d1a86..de9e1e9d29 100644 --- a/source4/libcli/smb2/signing.c +++ b/source4/libcli/smb2/signing.c @@ -94,12 +94,6 @@ NTSTATUS smb2_check_signature(struct smb2_request_buffer *buf, DATA_BLOB session return NT_STATUS_OK; } - if (session_key.length == 0) { - DEBUG(2,("Wrong session key length %u for SMB2 signing\n", - (unsigned)session_key.length)); - return NT_STATUS_ACCESS_DENIED; - } - memcpy(sig, buf->hdr+SMB2_HDR_SIGNATURE, 16); memset(buf->hdr + SMB2_HDR_SIGNATURE, 0, 16); |