From eb133b8fa5525330fc4e045b2184d5a5ac0197eb Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Tue, 3 Sep 2024 12:44:22 +0200 Subject: TLS: better state about handshake (#2534) Keep track if we received CH or/and SH messsages: usefull with unidirectional flows --- example/ndpiSimpleIntegration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example') diff --git a/example/ndpiSimpleIntegration.c b/example/ndpiSimpleIntegration.c index dca3cdd29..e51ceba3f 100644 --- a/example/ndpiSimpleIntegration.c +++ b/example/ndpiSimpleIntegration.c @@ -952,7 +952,7 @@ static void ndpi_process_packet(uint8_t * const args, flow_to_process->detected_l7_protocol.proto.app_protocol == NDPI_PROTOCOL_TLS) { if (flow_to_process->tls_client_hello_seen == 0 && - flow_to_process->ndpi_flow->protos.tls_quic.hello_processed != 0) + flow_to_process->ndpi_flow->protos.tls_quic.client_hello_processed != 0) { uint8_t unknown_tls_version = 0; char buf_ver[16]; -- cgit v1.2.3