From 18cd0b789e5e9c4108353c4a6762f05f4db788a8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 27 Feb 2012 09:18:33 +0100 Subject: 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 --- source3/torture/test_smb2.c | 6 ------ 1 file changed, 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); -- cgit