From caa223d2baefb3ffb0bfcec6230791e0e39ef23d Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sat, 23 Dec 2023 09:15:42 +0100 Subject: Changes to avoid type redefinition on windows --- src/lib/protocols/tls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/protocols/tls.c') diff --git a/src/lib/protocols/tls.c b/src/lib/protocols/tls.c index e3e103307..9bc948f23 100644 --- a/src/lib/protocols/tls.c +++ b/src/lib/protocols/tls.c @@ -1603,10 +1603,10 @@ static void ndpi_compute_ja4(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow, u_int32_t quic_version, union ja_info *ja) { - BYTE tmp_str[JA_STR_LEN]; + u_int8_t tmp_str[JA_STR_LEN]; u_int tmp_str_len, num_extn; SHA256_CTX sha_ctx; - BYTE sha_hash[SHA256_BLOCK_SIZE]; + u_int8_t sha_hash[SHA256_BLOCK_SIZE]; char ja_str[JA_STR_LEN]; u_int16_t ja_str_len, i; int rc; -- cgit v1.2.3