mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
cifsd: remove unneeded type casting
Remove unneeded type casting. Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
4a6b022826
commit
192cc732c6
1 changed files with 1 additions and 2 deletions
|
@ -410,8 +410,7 @@ int ksmbd_auth_ntlmv2(struct ksmbd_session *sess, struct ntlmv2_resp *ntlmv2,
|
|||
}
|
||||
|
||||
memcpy(construct, sess->ntlmssp.cryptkey, CIFS_CRYPTO_KEY_SIZE);
|
||||
memcpy(construct + CIFS_CRYPTO_KEY_SIZE,
|
||||
(char *)(&ntlmv2->blob_signature), blen);
|
||||
memcpy(construct + CIFS_CRYPTO_KEY_SIZE, &ntlmv2->blob_signature, blen);
|
||||
|
||||
rc = crypto_shash_update(CRYPTO_HMACMD5(ctx), construct, len);
|
||||
if (rc) {
|
||||
|
|
Loading…
Reference in a new issue