Add CHAP SHA3-256 support
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
@@ -630,10 +630,8 @@ iscsi_parse_url(struct iscsi_context *iscsi, const char *url, int full)
|
||||
iscsi->chap_auth = ISCSI_CHAP_SHA_1;
|
||||
} else if (!strcmp(value, "sha-256")) {
|
||||
iscsi->chap_auth = ISCSI_CHAP_SHA_256;
|
||||
#if 0
|
||||
} else if (!strcmp(value, "sha3-256")) {
|
||||
iscsi->chap_auth = ISCSI_CHAP_SHA3_256;
|
||||
#endif
|
||||
} else {
|
||||
iscsi_set_error(iscsi,
|
||||
"Invalid argument for auth: %s", value);
|
||||
|
||||
Reference in New Issue
Block a user