From 00e639d51301ccbaa2c14a47e829bdfe1831e226 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sat, 14 Sep 2019 15:00:52 +0200 Subject: TLS certificate hash is not reported --- src/lib/ndpi_main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib/ndpi_main.c') diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index b485fe631..8eb9f2260 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -6119,6 +6119,10 @@ void ndpi_free_flow(struct ndpi_flow_struct *flow) { if(flow) { if(flow->http.url) ndpi_free(flow->http.url); if(flow->http.content_type) ndpi_free(flow->http.content_type); + + if(flow->l4.tcp.tls_srv_cert_fingerprint_ctx) + ndpi_free(flow->l4.tcp.tls_srv_cert_fingerprint_ctx); + ndpi_free(flow); } } -- cgit v1.2.3