cifs: Fix encryption/signing
authorPaulo Alcantara <paulo@paulo.ac>
Wed, 13 Jun 2018 16:54:14 +0000 (13:54 -0300)
committerSteve French <stfrench@microsoft.com>
Fri, 15 Jun 2018 07:38:08 +0000 (02:38 -0500)
commitcd2dca60be6f4742b63373fd7e4b445c8a634e51
tree495bf7e6a9f2f6aca983c5ebaf28642ffe886ef3
parent07cd952f3ad51bc7f87dcdba0faac979ee559fd3
cifs: Fix encryption/signing

Since the rfc1002 generation was moved down to __smb_send_rqst(),
the transform header is now in rqst->rq_iov[0].

Correctly assign the transform header pointer in crypt_message().

Signed-off-by: Paulo Alcantara <palcantara@suse.de>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c