smb3: fix oops in calculating shash_setkey 6.1-rc-smb3-client-fixes-part1
authorSteve French <stfrench@microsoft.com>
Mon, 3 Oct 2022 03:09:45 +0000 (22:09 -0500)
committerSteve French <stfrench@microsoft.com>
Sat, 8 Oct 2022 04:08:41 +0000 (23:08 -0500)
commit958553d13478ad0e35fa09fecad3ce73277ccaf5
tree862cebc3101fa90e3571b2062860ea3988caec42
parent1f3d5477b944c8db8d73d7070ea98d8f1a8224c0
smb3: fix oops in calculating shash_setkey

shash was not being initialized in one place in smb3_calc_signature
and smb2_calc_signature

Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de>
Acked-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2transport.c