diff options
author | Shirish Pargaonkar <shirishpargaonkar@gmail.com> | 2010-08-23 12:04:07 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-08-23 13:38:24 -0400 |
commit | 3ec6bbcdb4e85403f2c5958876ca9492afdf4031 (patch) | |
tree | 6195d224dd698fced1164ec6b6bf6127b9285985 /fs/cifs/cifsencrypt.c | |
parent | 9fbc590860e75785bdaf8b83e48fabfe4d4f7d58 (diff) |
missing changes during ntlmv2/ntlmssp auth and sign
Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsencrypt.c')
-rw-r--r-- | fs/cifs/cifsencrypt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsencrypt.c b/fs/cifs/cifsencrypt.c index 051d00011ca3..eef78c24e0cc 100644 --- a/fs/cifs/cifsencrypt.c +++ b/fs/cifs/cifsencrypt.c | |||
@@ -553,6 +553,8 @@ calc_seckey(struct TCP_Server_Info *server) | |||
553 | return 1; | 553 | return 1; |
554 | } | 554 | } |
555 | 555 | ||
556 | desc.tfm = tfm_arc4; | ||
557 | |||
556 | crypto_blkcipher_setkey(tfm_arc4, | 558 | crypto_blkcipher_setkey(tfm_arc4, |
557 | server->session_key.data.ntlmv2.key, CIFS_CPHTXT_SIZE); | 559 | server->session_key.data.ntlmv2.key, CIFS_CPHTXT_SIZE); |
558 | sg_init_one(&sgin, sec_key, CIFS_CPHTXT_SIZE); | 560 | sg_init_one(&sgin, sec_key, CIFS_CPHTXT_SIZE); |