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 --- example/reader_util.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'example/reader_util.c') diff --git a/example/reader_util.c b/example/reader_util.c index 9ec50486c..2564f4ffd 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -985,6 +985,8 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl flow->ndpi_flow->protos.stun_ssl.ssl.ja3_server); flow->ssh_tls.server_unsafe_cipher = flow->ndpi_flow->protos.stun_ssl.ssl.server_unsafe_cipher; flow->ssh_tls.server_cipher = flow->ndpi_flow->protos.stun_ssl.ssl.server_cipher; + memcpy(flow->ssh_tls.sha1_cert_fingerprint, + flow->ndpi_flow->l4.tcp.tls_sha1_certificate_fingerprint, 20); } } -- cgit v1.2.3