diff options
author | Steve French <smfrench@gmail.com> | 2015-12-18 22:05:30 +0300 |
---|---|---|
committer | Steve French <sfrench@localhost.localdomain> | 2016-01-14 23:29:42 +0300 |
commit | 373512ec5c105ed09e3738196dcb257dfab65cba (patch) | |
tree | 3820a07566033fc32c9332d86c04317a40c1f6b7 /fs/cifs/misc.c | |
parent | 882137c4d64175e2bb38cd842e25d54e6de31da8 (diff) | |
download | linux-373512ec5c105ed09e3738196dcb257dfab65cba.tar.xz |
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.c | 2 |
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); |