Waring fix

This commit is contained in:
Luca Deri
2023-06-21 21:26:29 +02:00
parent cc582052b3
commit 8dbd591053
+1 -1
View File
@@ -1123,7 +1123,7 @@ static int ndpi_search_tls_tcp(struct ndpi_detection_module_struct *ndpi_struct,
if(flow->tls_quic.certificate_processed) {
if(flow->l4.tcp.tls.num_tls_blocks < ndpi_struct->num_tls_blocks_to_follow)
flow->l4.tcp.tls.tls_application_blocks_len[flow->l4.tcp.tls.num_tls_blocks++] =
(packet->packet_direction == 0) ? (len-5) : -(len-5);
(packet->packet_direction == 0) ? (len-5) : (-(int16_t)(len - 5));
#ifdef DEBUG_TLS_BLOCKS
printf("*** [TLS Block] [len: %u][num_tls_blocks: %u/%u]\n",