summaryrefslogtreecommitdiffstats
path: root/fs/cifs/misc.c
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2015-12-18 13:05:30 -0600
committerSteve French <sfrench@localhost.localdomain>2016-01-14 14:29:42 -0600
commit373512ec5c105ed09e3738196dcb257dfab65cba (patch)
tree3820a07566033fc32c9332d86c04317a40c1f6b7 /fs/cifs/misc.c
parent882137c4d64175e2bb38cd842e25d54e6de31da8 (diff)
downloadlinux-373512ec5c105ed09e3738196dcb257dfab65cba.tar.gz
linux-373512ec5c105ed09e3738196dcb257dfab65cba.tar.bz2
linux-373512ec5c105ed09e3738196dcb257dfab65cba.zip
Prepare for encryption support (first part). Add decryption and encryption key generation. Thanks to Metze for helping with this.
Reviewed-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Steve French <steve.french@primarydata.com>
Diffstat (limited to 'fs/cifs/misc.c')
-rw-r--r--fs/cifs/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c
index 8442b8b8e0be..813fe13c2ae1 100644
--- a/fs/cifs/misc.c
+++ b/fs/cifs/misc.c
@@ -310,7 +310,7 @@ check_smb_hdr(struct smb_hdr *smb)
}
int
-checkSMB(char *buf, unsigned int total_read)
+checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server)
{
struct smb_hdr *smb = (struct smb_hdr *)buf;
__u32 rfclen = be32_to_cpu(smb->smb_buf_length);