Signed vs. unsigned byte mismatch in CHAP_R comparison

This commit is contained in:
lishiao144
2025-05-29 11:50:20 +08:00
committed by GitHub
parent 35cb001a39
commit 676afd07a0

View File

@@ -124,7 +124,7 @@ struct iscsi_context {
char target_user[MAX_STRING_SIZE+1];
char target_passwd[MAX_STRING_SIZE+1];
int target_chap_i;
char target_chap_r[MAX_CHAP_R_SIZE];
unsigned char target_chap_r[MAX_CHAP_R_SIZE];
char error_string[MAX_STRING_SIZE+1];