iscsi-target: fix chap identifier simple_strtoul usage
authorNicholas Bellinger <nab@linux-iscsi.org>
Mon, 28 Nov 2011 09:02:07 +0000 (01:02 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Dec 2011 11:28:09 +0000 (11:28 +0000)
This patch makes chap_server_compute_md5() use proper unsigned long
usage for the CHAP_I (identifier) and check for values beyond 255 as
per RFC-1994.

Reported-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found