]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:torture/test_smb2: remove explicit smb2_signing_check_pdu()
authorStefan Metzmacher <metze@samba.org>
Mon, 27 Feb 2012 08:18:33 +0000 (09:18 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 27 Feb 2012 11:51:33 +0000 (12:51 +0100)
smb2cli_session_set_session_key() already checks the signature
and that function really knows the signing key.

metze

source3/torture/test_smb2.c

index 6d07f0aa951ad17de68c196db18753d86819c69c..3cd90bfe811161434a50f5de1cd15e6d636d794a 100644 (file)
@@ -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);