aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2022-12-10 18:32:25 +0100
committerGitHub <noreply@github.com>2022-12-10 18:32:25 +0100
commit8c7071e040865b3b70b98ff8d8ad18c41f3fb74c (patch)
treeb52a3e84e4997d53049226611584e820767bb5b6 /src/include
parent79931b2ec7dffc88df4cdd6855d7b1ec95cca20f (diff)
DTLS: handle (certificate) fragments (#1811)
Keep using the existing function to handle reassembling buffer: rename it from `ndpi_search_tls_tcp_memory` to `ndpi_search_tls_memory` and make it "transport" agnostic
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_typedefs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index ad33eb5e6..1e75e5ee4 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -709,8 +709,6 @@ struct ndpi_flow_tcp_struct {
u_int32_t telnet_stage:2; // 0 - 2
struct {
- message_t message[2]; /* Directions */
-
/* NDPI_PROTOCOL_TLS */
u_int8_t app_data_seen[2];
u_int8_t num_tls_blocks;
@@ -1384,6 +1382,7 @@ struct ndpi_flow_struct {
} stun;
struct {
+ message_t message[2]; /* Directions */
u_int8_t certificate_processed:1, _pad:7;
} tls_quic; /* Used also by DTLS and POPS/IMAPS/SMTPS/FTPS */