From 15295ef4c520f1e74163d15119e217ee799a24aa Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Thu, 21 Jan 2021 19:06:05 +0100 Subject: Reworked TLS fingerprint calcolation Modified TLS memory free --- example/reader_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example') diff --git a/example/reader_util.c b/example/reader_util.c index c7acd90f0..9c03daaa8 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1164,7 +1164,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl if(flow->ndpi_flow->l4.tcp.tls.fingerprint_set) { memcpy(flow->ssh_tls.sha1_cert_fingerprint, - flow->ndpi_flow->l4.tcp.tls.sha1_certificate_fingerprint, 20); + flow->ndpi_flow->protos.stun_ssl.ssl.sha1_certificate_fingerprint, 20); flow->ssh_tls.sha1_cert_fingerprint_set = 1; } -- cgit v1.2.3