diff options
author | Shirish Pargaonkar <shirishpargaonkar@gmail.com> | 2010-08-23 11:04:07 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-08-23 17:38:24 +0000 |
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 051d00011ca..eef78c24e0c 100644 --- a/fs/cifs/cifsencrypt.c +++ b/fs/cifs/cifsencrypt.c @@ -553,6 +553,8 @@ calc_seckey(struct TCP_Server_Info *server) return 1; } + desc.tfm = tfm_arc4; + crypto_blkcipher_setkey(tfm_arc4, server->session_key.data.ntlmv2.key, CIFS_CPHTXT_SIZE); sg_init_one(&sgin, sec_key, CIFS_CPHTXT_SIZE); |