From e7c0ac37d87958c80115e7553ea39b26668ce360 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Thu, 22 Aug 2019 19:25:58 +0200 Subject: Implemented HASSH (https://github.com/salesforce/hassh) --- example/reader_util.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'example/reader_util.c') diff --git a/example/reader_util.c b/example/reader_util.c index b57e23526..b8e21cce8 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -862,6 +862,10 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl flow->ndpi_flow->protos.ssh.client_signature); snprintf(flow->ssh_tls.server_info, sizeof(flow->ssh_tls.server_info), "%s", flow->ndpi_flow->protos.ssh.server_signature); + snprintf(flow->ssh_tls.client_hassh, sizeof(flow->ssh_tls.client_hassh), "%s", + flow->ndpi_flow->protos.ssh.hassh_client); + snprintf(flow->ssh_tls.server_hassh, sizeof(flow->ssh_tls.server_hassh), "%s", + flow->ndpi_flow->protos.ssh.hassh_server); } /* TLS */ else if((flow->detected_protocol.app_protocol == NDPI_PROTOCOL_TLS) -- cgit v1.2.3