aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2021-01-21 19:06:05 +0100
committerLuca Deri <deri@ntop.org>2021-01-21 19:06:05 +0100
commit15295ef4c520f1e74163d15119e217ee799a24aa (patch)
tree96c41348cd8b365c433900eb852fa62621441c8b /example/reader_util.c
parent399755607d5bf5b68e62f324a8614351437051c1 (diff)
Reworked TLS fingerprint calcolation
Modified TLS memory free
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c2
1 files changed, 1 insertions, 1 deletions
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;
}