mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-12 18:16:58 +02:00
CLEANUP: silence signedness warning in acl.c
The recent SNI patch introduced a trivial warning in acl.c.
This commit is contained in:
parent
18dd41dc46
commit
62e7c7146e
@ -423,12 +423,9 @@ acl_fetch_ssl_hello_sni(struct proxy *px, struct session *l4, void *l7, int dir,
|
|||||||
name_len = (data[7] << 8) + data[8];
|
name_len = (data[7] << 8) + data[8];
|
||||||
|
|
||||||
if (name_type == 0) { /* hostname */
|
if (name_type == 0) { /* hostname */
|
||||||
temp_pattern.data.str.str = data + 9;
|
temp_pattern.data.str.str = (char *)data + 9;
|
||||||
temp_pattern.data.str.len = name_len;
|
temp_pattern.data.str.len = name_len;
|
||||||
test->flags = ACL_TEST_F_VOLATILE;
|
test->flags = ACL_TEST_F_VOLATILE;
|
||||||
//fprintf(stderr, "found SNI : <");
|
|
||||||
//write(2, test->ptr, test->len);
|
|
||||||
//fprintf(stderr, ">\n");
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user