scsi: target: iscsi: rename some variables to avoid confusion.
authorMaurizio Lombardi <mlombard@redhat.com>
Thu, 17 Oct 2019 13:10:37 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Nov 2019 05:14:33 +0000 (00:14 -0500)
commitf9fab3d9860050ed69b7cee348a449a7853a3259
tree1abdd095c00f84eb72c60b1dd5257b220ae7e745
parent19f5f88ed779180f16e236949e18389a0dca4aae
scsi: target: iscsi: rename some variables to avoid confusion.

This patch renames some variables in chap_server_compute_hash() to make it
harder to confuse the initiator's challenge with the target's challenge
when the mutual chap authentication is used.

Link: https://lore.kernel.org/r/20191017131037.9903-4-mlombard@redhat.com
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/iscsi/iscsi_target_auth.c