aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiSimpleIntegration.c
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2022-09-27 20:01:32 +0200
committerToni <matzeton@googlemail.com>2022-09-30 06:53:29 +0200
commitf3a74d97d845d07628533717666637e1630aa1ed (patch)
treecb7192a695752d9b13aa7154179110c5ba576388 /example/ndpiSimpleIntegration.c
parentfbf30d1aadb8c475f43084a8e71aa77fd203068e (diff)
TLS/DTLS: we process certificate for UDP flows, too
Note that current code access `certificate_processed` state even before setting the protocol classification, so this piece of information can't be saved in `flow->protos` union.
Diffstat (limited to 'example/ndpiSimpleIntegration.c')
-rw-r--r--example/ndpiSimpleIntegration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiSimpleIntegration.c b/example/ndpiSimpleIntegration.c
index 67bc55807..604fef242 100644
--- a/example/ndpiSimpleIntegration.c
+++ b/example/ndpiSimpleIntegration.c
@@ -956,7 +956,7 @@ static void ndpi_process_packet(uint8_t * const args,
flow_to_process->tls_client_hello_seen = 1;
}
if (flow_to_process->tls_server_hello_seen == 0 &&
- flow_to_process->ndpi_flow->l4.tcp.tls.certificate_processed != 0)
+ flow_to_process->ndpi_flow->tls_quic.certificate_processed != 0)
{
uint8_t unknown_tls_version = 0;
char buf_ver[16];