diff options
author | Luca Deri <deri@ntop.org> | 2023-12-23 09:15:42 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2023-12-23 09:15:42 +0100 |
commit | caa223d2baefb3ffb0bfcec6230791e0e39ef23d (patch) | |
tree | b5178653d5593ce33b40836ae2675ea63b27afd6 /src/lib/protocols/tls.c | |
parent | 5c7200f2bb763bfcd4e0636aebb88573e97bbcf3 (diff) |
Changes to avoid type redefinition on windows
Diffstat (limited to 'src/lib/protocols/tls.c')
-rw-r--r-- | src/lib/protocols/tls.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |