libcli/smb: do not set SMB2_TF_MSG_SIZE in the caller
authorStefan Metzmacher <metze@samba.org>
Wed, 8 Aug 2012 03:04:07 +0000 (05:04 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Aug 2012 05:32:55 +0000 (07:32 +0200)
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Aug  8 07:32:55 CEST 2012 on sn-devel-104

libcli/smb/smbXcli_base.c

index c6e3b2a6ce47c43480962c0db18b7da24d80cc03..dad869c2c0213d7ca11db75c4c7ab2b8093e24f2 100644 (file)
@@ -2764,9 +2764,6 @@ skip_credits:
                                state->session->smb2->nonce_low += 1;
                        }
 
-                       SBVAL(state->smb2.transform, SMB2_TF_MSG_SIZE,
-                             reqlen);
-
                        buf = talloc_array(iov, uint8_t, reqlen);
                        if (buf == NULL) {
                                return NT_STATUS_NO_MEMORY;