diff options
Diffstat (limited to 'fs/cifs/cifsencrypt.c')
-rw-r--r-- | fs/cifs/cifsencrypt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/cifsencrypt.c b/fs/cifs/cifsencrypt.c index be012a17278a..36272293027d 100644 --- a/fs/cifs/cifsencrypt.c +++ b/fs/cifs/cifsencrypt.c | |||
@@ -109,7 +109,8 @@ static int cifs_calc_signature2(const struct kvec *iov, int n_vec, | |||
109 | if (i == 0) { | 109 | if (i == 0) { |
110 | if (iov[0].iov_len <= 8 ) /* cmd field at offset 9 */ | 110 | if (iov[0].iov_len <= 8 ) /* cmd field at offset 9 */ |
111 | break; /* nothing to sign or corrupt header */ | 111 | break; /* nothing to sign or corrupt header */ |
112 | MD5Update(&context,iov[0].iov_base+4, iov[0].iov_len-4); | 112 | MD5Update(&context, iov[0].iov_base+4, |
113 | iov[0].iov_len-4); | ||
113 | } else | 114 | } else |
114 | MD5Update(&context, iov[i].iov_base, iov[i].iov_len); | 115 | MD5Update(&context, iov[i].iov_base, iov[i].iov_len); |
115 | } | 116 | } |