diff options
author | Luca Deri <deri@ntop.org> | 2019-09-14 15:00:52 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-09-14 15:00:52 +0200 |
commit | 00e639d51301ccbaa2c14a47e829bdfe1831e226 (patch) | |
tree | aa3ac6ff61dfb3a367b6e3b9fe75ce84965165c0 /example/reader_util.c | |
parent | 659f75138c2a95e5823608a545b9a3d3ced223bc (diff) |
TLS certificate hash is not reported
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } } |