diff options
Diffstat (limited to 'fs/cifs/cifsencrypt.c')
-rw-r--r-- | fs/cifs/cifsencrypt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/cifs/cifsencrypt.c b/fs/cifs/cifsencrypt.c index eef78c24e0cc..051d00011ca3 100644 --- a/fs/cifs/cifsencrypt.c +++ b/fs/cifs/cifsencrypt.c | |||
@@ -553,8 +553,6 @@ calc_seckey(struct TCP_Server_Info *server) | |||
553 | return 1; | 553 | return 1; |
554 | } | 554 | } |
555 | 555 | ||
556 | desc.tfm = tfm_arc4; | ||
557 | |||
558 | crypto_blkcipher_setkey(tfm_arc4, | 556 | crypto_blkcipher_setkey(tfm_arc4, |
559 | server->session_key.data.ntlmv2.key, CIFS_CPHTXT_SIZE); | 557 | server->session_key.data.ntlmv2.key, CIFS_CPHTXT_SIZE); |
560 | sg_init_one(&sgin, sec_key, CIFS_CPHTXT_SIZE); | 558 | sg_init_one(&sgin, sec_key, CIFS_CPHTXT_SIZE); |