MAX_CHAP_R_SIZE updata

This commit is contained in:
lishiao144
2025-05-28 15:57:40 +08:00
committed by GitHub
parent fa37a2136c
commit b4d1cd7907

View File

@@ -98,7 +98,7 @@ struct iscsi_in_pdu {
void iscsi_free_iscsi_in_pdu(struct iscsi_context *iscsi, struct iscsi_in_pdu *in);
/* size of chap response field */
#define MAX_CHAP_R_SIZE 20 /* md5:16 sha1:20 */
#define MAX_CHAP_R_SIZE 32 /* md5:16 sha1:20 */
/* max length of chap challange */
#define MAX_CHAP_C_LENGTH 2048