git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be0a45d
)
libcli/smb2: we don't need check the same thing twice...
author
Stefan Metzmacher
<metze@samba.org>
Wed, 13 Aug 2008 07:44:06 +0000
(09:44 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 14 Aug 2008 11:13:49 +0000
(13:13 +0200)
metze
(This used to be commit
1380fb954a7d9d4b543c4650a060fef9f357af7b
)
source4/libcli/smb2/signing.c
patch
|
blob
|
history
diff --git
a/source4/libcli/smb2/signing.c
b/source4/libcli/smb2/signing.c
index 0d655d1a8662cc27b5566695b5e6dddf6271f923..de9e1e9d29fb1de38cf2a657fb718b4add55e6d1 100644
(file)
--- 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);