summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-02-27 09:18:33 +0100
committerStefan Metzmacher <metze@samba.org>2012-02-27 12:51:33 +0100
commit18cd0b789e5e9c4108353c4a6762f05f4db788a8 (patch)
treed09a566587a8d215f6a7a127f7775e5938a907d3
parentc45cb3353be7ec2ddaf38d859a24a02163e88a1b (diff)
downloadsamba-18cd0b789e5e9c4108353c4a6762f05f4db788a8.tar.gz
samba-18cd0b789e5e9c4108353c4a6762f05f4db788a8.tar.bz2
samba-18cd0b789e5e9c4108353c4a6762f05f4db788a8.zip
s3:torture/test_smb2: remove explicit smb2_signing_check_pdu()
smb2cli_session_set_session_key() already checks the signature and that function really knows the signing key. metze
-rw-r--r--source3/torture/test_smb2.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c
index 6d07f0aa95..3cd90bfe81 100644
--- a/source3/torture/test_smb2.c
+++ b/source3/torture/test_smb2.c
@@ -489,12 +489,6 @@ bool run_smb2_session_reconnect(int dummy)
return false;
}
- status = smb2_signing_check_pdu(session_key, recv_iov, 3);
- if (!NT_STATUS_IS_OK(status)) {
- printf("check pdu returned %s\n", nt_errstr(status));
- return false;
- }
-
/* check file operation on the old client */
status = smb2cli_flush(cli1, fid_persistent, fid_volatile);